Interface ItemAttributeModifierBase
public interface ItemAttributeModifierBase
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddModifier(net.minecraft.world.entity.ai.attributes.Attribute attribute, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier) voidnet.minecraft.world.item.ItemStackcom.google.common.collect.Multimap<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier> com.google.common.collect.Multimap<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier> net.minecraft.world.entity.EquipmentSlotCollection<net.minecraft.world.entity.ai.attributes.AttributeModifier>removeAttribute(net.minecraft.world.entity.ai.attributes.Attribute attribute) booleanremoveModifier(net.minecraft.world.entity.ai.attributes.Attribute attribute, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier)
-
Method Details
-
getModifiers
com.google.common.collect.Multimap<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier> getModifiers() -
getOriginalModifiers
com.google.common.collect.Multimap<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier> getOriginalModifiers() -
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()
-