This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Trying to override this method in the itemclass to make a custom item:
public void getSubItems(int par1, CreativeTabs par2CreativeTabs, List list);
{ list.add(new ItemStack(par1, 1, 0));}
I want to addEnchantment to custom sword. I am new to modding and java not sure how to do this:
ItemStack enchantsword = new ItemStack(par1, 1, 0);???
ItemStack enchantglistre_sword = new ItemStack(Glistre_Sword, 1); list.add(new ItemStack(par1, 1, 0));???
enchantsword.addEnchantment(Enchantment.fireaspect, 10);
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumTrying to override this method in the itemclass to make a custom item:
{ list.add(new ItemStack(par1, 1, 0));}I want to addEnchantment to custom sword. I am new to modding and java not sure how to do this:
ItemStack enchantsword = new ItemStack(par1, 1, 0);???
ItemStack enchantglistre_sword = new ItemStack(Glistre_Sword, 1);
list.add(new ItemStack(par1, 1, 0));???
enchantsword.addEnchantment(Enchantment.fireaspect, 10);