Interface AccessoryStack

All Known Implementing Classes:
ItemStackMixin

public interface AccessoryStack
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    addTooltipLines(net.minecraft.world.entity.player.Player pPlayer, List<net.minecraft.network.chat.Component> list)
     
     
    default com.google.common.collect.Multimap<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier>
    Gets the attribute modifiers for this ItemStack.
    default com.google.common.collect.Multimap<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier>
    Gets the attribute modifiers for this ItemStack.
    default net.minecraft.world.item.ItemStack
     
  • Method Details

    • self

      default net.minecraft.world.item.ItemStack self()
    • getAccessory

      default AccessoryItem getAccessory()
    • getAttributeModifiers

      default com.google.common.collect.Multimap<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier> getAttributeModifiers(AccessorySlot slot)
      Gets the attribute modifiers for this ItemStack. Will check for an NBT tag list containing modifiers for the stack.
    • getAttributeModifiers

      default com.google.common.collect.Multimap<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier> getAttributeModifiers(AccessorySlot.Group group)
      Gets the attribute modifiers for this ItemStack. Will check for an NBT tag list containing modifiers for the stack.
    • addTooltipLines

      default void addTooltipLines(net.minecraft.world.entity.player.Player pPlayer, List<net.minecraft.network.chat.Component> list)