Adds new circle-shaped ticking area to the given dimension.
It covers not only the blocks included in the resulting circle,
but all the chunks that intersect with this circle.
In this overload, the name of the area is set to default ("Area{N}"
)
dimension where to create the ticking area
X coordinate of the area's center position
Z coordinate of the area's center position
area's radius in meters (blocks)
Adds new circle-shaped ticking area to the given dimension.
It covers not only the blocks included in the resulting circle,
but all the chunks that intersect with this circle.
In this overload, the name of the area is set to default ("Area{N}"
)
dimension where to create the ticking area
area name, that must be unique for the given dimension
X coordinate of the area's center position
Z coordinate of the area's center position
area's radius in meters (blocks)
Adds new rectangle-shaped ticking area to the given dimension.
It covers not only the blocks included in the resulting rectangle,
but all the chunks that intersect with this rectangle.
In this overload, the name of the area is set to default ("Area{N}"
)
dimension where to create the ticking area
X coordinate of the area's start position
Z coordinate of the area's start position
X coordinate of the area's end position
Z coordinate of the area's end position
Adds new rectangle-shaped ticking area to the given dimension. It covers not only the blocks included in the resulting rectangle, but all the chunks that intersect with this rectangle.
dimension where to create the ticking area
area name, that must be unique for the given dimension
X coordinate of the area's start position
Z coordinate of the area's start position
X coordinate of the area's end position
Z coordinate of the area's end position
how many ticking areas are there in all dimensions of the current Minecraft world at the moment.
how many ticking areas are there in the given dimension at the moment.
Method used internally when you don't specify the name for a new ticking area.
names that look like "Area{N}"
, where {N}
is an incrementing integer.
pointer to the native object wrapped by the following native interface object, represented by a signed 64-bit integer
whether there is at least one active ticking area in the world at the moment.
whether a ticking area exists by given name in the given dimension. Dimension parameter is needed because every dimension has its own ticking areas list, and it's possible that two areas with the same name exist at the same time in different dimensions
Removes the ticking area by given name in given dimension, if the area with this name exists.
Removes all the ticking areas from given dimension containing the given position.
Generated using TypeDoc
Wrapper for the native
TickingAreasManager
class to add or remove new ticking areas to the world the player is in at the moment.3.0