EntityAccess
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.entity.EntityAccess;
Members
Getter
// EntityAccess.id as intmyEntityAccess.id
Return Type:
int
id() as int
// EntityAccess.id() as int;myEntityAccess.id();
Return Type:
int
Getter
// EntityAccess.isAlwaysTicking as boolmyEntityAccess.isAlwaysTicking
Return Type:
bool
isAlwaysTicking() as bool
// EntityAccess.isAlwaysTicking() as bool;myEntityAccess.isAlwaysTicking();
Return Type:
bool
setRemoved(var1 as RemovalReason)
myEntityAccess.setRemoved(myRemovalReason);
Parameters:
var1: RemovalReason
Type: RemovalReason
Getter
// EntityAccess.shouldBeSaved as boolmyEntityAccess.shouldBeSaved
Return Type:
bool
shouldBeSaved() as bool
// EntityAccess.shouldBeSaved() as bool;myEntityAccess.shouldBeSaved();
Return Type:
bool
Getter
// EntityAccess.uuid as UUIDmyEntityAccess.uuid
Return Type:
UUID
uuid() as UUID
// EntityAccess.uuid() as UUID;myEntityAccess.uuid();
Return Type:
UUID