Interface ICustomAttributesItem

All Known Implementing Classes:
BattleMageArmorItem, SageArmorItem, WarlockArmorItem, WizardArmorItem

public interface ICustomAttributesItem
Interface to mirror allow items to add/remove entity attributes dynamically based on the item stack

This is only implemented for Wizard armor items with mixins

  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.common.collect.Multimap<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier>
    getCustomAttributes(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.EquipmentSlot slot)
     
  • Method Details

    • getCustomAttributes

      com.google.common.collect.Multimap<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier> getCustomAttributes(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.EquipmentSlot slot)