Optional entityOptions: IEntityConstructorOptions<TileEventType>Protected Optional _descriptionOptional allowUsed for smart vehicle movement (minecarts) Note: This is clientside only.
Optional attackUsed for attack animations. Note: This is clientside only.
Optional builderOptional decayOptional directionundefined = Vector2.ZERO for this
Optional facingundefined = Direction.None for this
Note: This might not be a whole number.
Note: This might not be a whole number.
Optional fuelFor use with the Fire TileEvent to check if it has a fuel source and should create ash by default. Set to 0 to stop all ash production.
Optional gfxOptional historicalOptional isNot guaranteed to be synced between the server and client for Human entities
Optional maxOptional minOptional 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 slippingOptional spreadOptional stepundefined if this entity's island is not loaded, this if it is
Get the entities description
Whether this entity's island is loaded
Checks if the entity is within the viewport bounds of one or more humans
Optional fieldOfView: FieldOfViewOptional customRadius: numberOptional customRadius: numberOptional fieldOfView: FieldOfViewOptional customRadius: numberProtected getCalled when filling out the entities description for the first time
Gets 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 getMove 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 updateUpdates the world renderer & flow field state for the tile
Optional updateNeighbors: booleanOptional skipFlowFieldUpdate: booleanStatic isGenerated using TypeDoc
Entity class that allows movement