ItemContainer object for the type of the following BlockActor, or null if this BlockActor's network utilities weren't setup yet
SyncedNetworkData object for the type of the following BlockActor, or null if this BlockActor's network utilities weren't setup yet
NetworkEntity object for the type of the following BlockActor, or null if this BlockActor's network utilities weren't setup yet
NetworkEntityType object for the type of the following BlockActor, or null if this BlockActor's network utilities weren't setup yet
block coordinates of the following BlockActor
Math.BlockPos since 5.0 (it was like that from the very beginning, but until 5.0 Math.BlockPos has not been declared)
BlockState object of the block having the following BlockActor, or null if this BlockActor doesn't have a world object for some reason
numeric ID of the dimension the following BlockActor is in
non-negative amount of ticks the following BlockActor exists in the world. After re-entering the level, this value is reset back to zero.
pointer to the native object wrapped by the following native interface object, represented by a signed 64-bit integer
numeric ID of the block entity type the following BlockActor has
BlockSource object of the world the following BlockActor is in, or null if this BlockActor doesn't have a world object for some reason
whether the following BlockActor has a BlockSource world object
whether the following BlockActor object refers to the client-side native copy of the block entity
whether the following BlockActor object refers to the server-side native copy of the block entity
Method called by Minecraft when entering the level and loading the following BlockActor.
Method called by Minecraft when chunk containing the following BlockActor is being loaded.
Method called by Minecraft when chunk containing the following BlockActor is being unloaded.
Math.Vec3d since 5.0 (it was like that from the very beginning, but until 5.0 Math.Vec3d has not been declared)
Method called by Minecraft when leaving the level and unloading the following BlockActor.
Method called by Minecraft every tick (20 times a second)
Invokes native block entity position getter in order to update it for the following Java wrapper. Used mainly internally, for example when the BlockActor is moved by a piston etc.
reference to itself to be used in sequential calls
Generated using TypeDoc
Base Java abstract class for custom native block entities. In terms of TypeScript declarations it's just an interface to call particular block entity methods when needed, on block entity objects, obtained for example using BlockSource.getCustomBlockEntity method
4.0