Importing the class

Link to importing-the-class

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.EntityAccess;

Link to g-

Name: blockPosition

Return Type: BlockPos

ZenScript
Copy
// EntityAccess.blockPosition() as BlockPos

myEntityAccess.blockPosition();

Link to g--1

Name: getBoundingBox

Return Type: AABB

ZenScript
Copy
// EntityAccess.getBoundingBox() as AABB

myEntityAccess.getBoundingBox();

Name: getId

Return Type: int

ZenScript
Copy
// EntityAccess.getId() as int

myEntityAccess.getId();

Name: getUUID

Return Type: invalid

ZenScript
Copy
// EntityAccess.getUUID() as invalid

myEntityAccess.getUUID();

Link to g--4

Name: isAlwaysTicking

Return Type: boolean

ZenScript
Copy
// EntityAccess.isAlwaysTicking() as boolean

myEntityAccess.isAlwaysTicking();

Link to g--5

Name: setRemoved

Return Type: void

ZenScript
Copy
EntityAccess.setRemoved(var1 as RemovalReason) as void
ParameterTypeDescription
Parameter
var1
Type
RemovalReason
Description
No Description Provided

Link to g--6

Name: shouldBeSaved

Return Type: boolean

ZenScript
Copy
// EntityAccess.shouldBeSaved() as boolean

myEntityAccess.shouldBeSaved();
NombreTypeHas GetterHas SetterDescription
Nombre
blockPosiion
Type
BlockPos
Has Getter
true
Has Setter
false
Description
No Description Provided
Nombre
boundingBox
Type
AABB
Has Getter
true
Has Setter
false
Description
No Description Provided
Nombre
id
Type
int
Has Getter
true
Has Setter
false
Description
No Description Provided
Nombre
isAlwaysTicking
Type
boolean
Has Getter
true
Has Setter
false
Description
No Description Provided
Nombre
shouldBeSaved
Type
boolean
Has Getter
true
Has Setter
false
Description
No Description Provided
Nombre
uuid
Type
invalid
Has Getter
true
Has Setter
false
Description
No Description Provided