Abstract Optional entityOptions: IEntityConstructorOptions<TypeType>Protected Optional _descriptionOptional allowUsed for smart vehicle movement (minecarts) Note: This is clientside only.
Optional animOptional attackUsed for attack animations. Note: This is clientside only.
Optional directionundefined = Vector2.ZERO for this
Readonly Abstract entityOptional facingundefined = Direction.None for this
Optional fromXNote: This might not be a whole number.
Optional fromYNote: This might not be a whole number.
Optional historicalOptional isNot guaranteed to be synced between the server and client for Human entities
Optional moveOptional movementOnly used for Human entities
Readonly movingUsed for movement animations. Note: This is clientside only.
Notifier marker assigned to this entity
Optional preventOptional referenceDo not use this property directly, instead use `game.references.getReference()
Optional renamedOptional shouldProtected Optional shouldProtected Optional slippingReadonly Abstract tileAbstract asAbstract asAbstract asAbstract asAbstract asAbstract asundefined if this entity's island is not loaded, this if it is
Abstract asAbstract asNPCAbstract asAbstract asAbstract asGet the entities description
Whether this entity's island is loaded
Abstract isAbstract isChecks if the entity is within the viewport bounds of one or more humans
Optional fieldOfView: FieldOfViewOptional customRadius: numberOptional customRadius: numberOptional fieldOfView: FieldOfViewOptional customRadius: numberProtected Abstract getAbstract getGets the temperature produced by this object. Positive values are "heat", negative values are "cold".
Refer to the values of the Temperature enum to see the possible range.
If this method is not implemented, or it returns undefined, Temperature.Neutral is used.
Optional getOptional getOptional getOptional getOptional getAbstract isAbstract isAbstract isAbstract isAbstract isAbstract isAbstract isNPCAbstract isAbstract isAbstract isMove the entity to the tile
Optional options: IMoveToOptionsProtected onProtected setProtected setProtected setOptional toZ: numberOptional options: IMoveToOptionsStart slipping the entity
Faces in the direction
Faces the target tile
Start slipping if the tile is slippable. Stops slipping if above the max slip count or if the tile is not slippable.
Protected Abstract updateUpdates the world renderer & flow field state for the tile
Optional updateNeighbors: booleanOptional skipFlowFieldUpdate: booleanGenerated using TypeDoc
Entity class that allows movement