Interface IItemAttributeEvent

All Known Implementing Classes:
FabricItemAttributeEvent

public interface IItemAttributeEvent
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    addModifier(net.minecraft.world.entity.ai.attributes.Attribute attribute, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier)
     
    void
     
    net.minecraft.world.item.ItemStack
     
    net.minecraft.world.entity.EquipmentSlot
     
    Collection<net.minecraft.world.entity.ai.attributes.AttributeModifier>
    removeAttribute(net.minecraft.world.entity.ai.attributes.Attribute attribute)
     
    boolean
    removeModifier(net.minecraft.world.entity.ai.attributes.Attribute attribute, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier)
     
  • Method Details

    • addModifier

      boolean addModifier(net.minecraft.world.entity.ai.attributes.Attribute attribute, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier)
    • removeModifier

      boolean removeModifier(net.minecraft.world.entity.ai.attributes.Attribute attribute, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier)
    • removeAttribute

      Collection<net.minecraft.world.entity.ai.attributes.AttributeModifier> removeAttribute(net.minecraft.world.entity.ai.attributes.Attribute attribute)
    • clearModifiers

      void clearModifiers()
    • getSlotType

      net.minecraft.world.entity.EquipmentSlot getSlotType()
    • getItemStack

      net.minecraft.world.item.ItemStack getItemStack()