AttributeOperation

Diese Klasse 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 at the very top of the file.

ZenScript
Copy
import crafttweaker.api.entity.AttributeOperation;

Extending Enum<AttributeOperation>

AttributeOperation extends Enum<AttributeOperation>. That means all methods available in Enum<AttributeOperation> are also available in AttributeOperation

Static Properties

NameTypeHas GetterHas SetterBeschreibung
ADDITIONAttributeOperationtruefalseNo Description Provided
MULTIPLY_BASEAttributeOperationtruefalseNo Description Provided
MULTIPLY_TOTALAttributeOperationtruefalseNo Description Provided

Methoden

getId

Gets the ID of this operation.

Returns: The ID of this operation.
Return Type: int

ZenScript
Copy
// AttributeOperation.getId() as int

myAttributeOperation.getId();

Properties

NameTypeHas GetterHas SetterBeschreibung
idinttruefalseGets the ID of this operation.