IEntityAttributeInstance
Link to ientityattributeinstance
Dieses Paket importieren
Link to dieses-paket-importieren
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import.
import crafttweaker.entity.AttributeInstance;
ZenGetter
Link to zengetter
ZenGetter | GetterMethod | Rückgabetyp |
---|---|---|
ZenGetter attribute | GetterMethod getAttribute() | Rückgabetyp IEntityAttribute |
ZenGetter baseValue | GetterMethod getBaseValue() | Rückgabetyp double |
ZenGetter modifiers | GetterMethod getModifiers() | Rückgabetyp List<IEntityAttrubuteModifier> |
ZenGetter attributeValue | GetterMethod getAttributeValue() | Rückgabetyp double |
ZenSetters
Link to zensetters
ZenSetter | SetterMethod | Parameter Type |
---|---|---|
ZenSetter baseValue | SetterMethod setBaseValue(value) | Parameter Type double |
Modifier Methods
Link to modifier-methods
List<IEntityAttrubuteModifier>
getModifiersByOperation(int operation)- boolean hasModifier(IEntityAttributeModifier modifier)
- IEntityAttributeModifier getModifier(String uuid);
- void applyModifier(IEntityAttributeModifier modifier);
- void removeModifier(IEntityAttributeModifier modifier);
- void removeModifier(String uuid);
- void removeAllModifiers();