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

The following examples show how to use net.minecraft.init.Items#DIAMOND_CHESTPLATE . 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 check out the related API usage on the sidebar.
Example 1
Source File: ShopkeeperTradesForMoon.java    From ToroQuest with GNU General Public License v3.0 5 votes vote down vote up
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
Source File: ShopkeeperTradesForMoon.java    From ToroQuest with GNU General Public License v3.0 5 votes vote down vote up
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
Source File: ShopkeeperTradesForMoon.java    From ToroQuest with GNU General Public License v3.0 5 votes vote down vote up
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;
}