Class HiddenTooltipPartsTest.TestItem

java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<Item>
net.minecraft.world.item.Item
net.minecraftforge.debug.item.HiddenTooltipPartsTest.TestItem
All Implemented Interfaces:
ItemLike, IForgeItem, IForgeRegistryEntry<Item>
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: