Jump to content

Tigrex

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Tigrex

  1. Thanks! I'll look into it again and try to solve the problem
  2. Hi, I'm a modding newbie here. Yesterday I had a problem, when I wanted to apply some stats to Tinker's Construct's item (like pickaxe, hammer, etc.), I don't know how to do. import net.minecraft.world.item.AxeItem; import net.minecraft.world.item.Item; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.Items; /* ... */ public Item[] getDefaultSupportedItems() { return new Item[]{Items.WOODEN_AXE, Items.STONE_AXE, Items.IRON_AXE, Items.GOLDEN_AXE, Items.DIAMOND_AXE}; } If I want to put TC's handaxes into the list, what'll be their names? The category I know is 'tconstruct:hand_axe' but how to import TC's package in order to call them in the code? Thanks!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.