Java Code Examples for net.minecraft.init.Items#DIAMOND_CHESTPLATE

The following examples show how to use net.minecraft.init.Items#DIAMOND_CHESTPLATE . These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may want to check out the right sidebar which shows the related API usage.
Example 1
private static ItemStack level3Chestplate() {
	ItemStack stack = new ItemStack(Items.DIAMOND_CHESTPLATE);
	stack.setStackDisplayName("Moon Chestplate III");
	stack.addEnchantment(Enchantment.REGISTRY.getObjectById(0), 1);
	stack.addEnchantment(Enchantment.REGISTRY.getObjectById(7), 1);
	return stack;
}
 
Example 2
private static ItemStack level4Chestplate() {
	ItemStack stack = new ItemStack(Items.DIAMOND_CHESTPLATE);
	stack.setStackDisplayName("Moon Chestplate IV");
	stack.addEnchantment(Enchantment.REGISTRY.getObjectById(0), 2);
	stack.addEnchantment(Enchantment.REGISTRY.getObjectById(7), 3);
	return stack;
}
 
Example 3
private static ItemStack level5Chestplate() {
	ItemStack stack = new ItemStack(Items.DIAMOND_CHESTPLATE);
	stack.setStackDisplayName("Moon Chestplate V");
	stack.addEnchantment(Enchantment.REGISTRY.getObjectById(0), 4);
	stack.addEnchantment(Enchantment.REGISTRY.getObjectById(7), 4);
	stack.addEnchantment(Enchantment.REGISTRY.getObjectById(70), 1);
	return stack;
}