Class HiddenTooltipPartsTest.TestItem

java.lang.Object
net.minecraft.world.item.Item
net.minecraftforge.debug.item.HiddenTooltipPartsTest.TestItem
All Implemented Interfaces:
ItemLike, IForgeItem
Enclosing class:
HiddenTooltipPartsTest

static class HiddenTooltipPartsTest.TestItem extends Item
  • Constructor Details

  • Method Details

    • getAttributeModifiers

      public com.google.common.collect.Multimap<Attribute,AttributeModifier> getAttributeModifiers(EquipmentSlot slot, ItemStack stack)
      Description copied from interface: IForgeItem
      ItemStack sensitive version of getItemAttributeModifiers
    • getDefaultTooltipHideFlags

      public int getDefaultTooltipHideFlags(@NotNull @NotNull ItemStack stack)
      Description copied from interface: IForgeItem
      Get the tooltip parts that should be hidden by default on the given stack if the HideFlags tag is not set.
      Parameters:
      stack - the stack
      Returns:
      the default hide flags
      See Also: