pointer to the native block entity object that will have to be wrapped by your Java object, represented by a signed 64-bit integer
numeric ID of the following block entity's type
block coordinates where the tile is being created, Math.BlockPos since 5.0 (it was like that from the very beginning, but until 5.0 Math.BlockPos has not been declared)
Generated using TypeDoc
Function used in TileEntityModule.registerTileEntityType method. It will be called every time the custom tile is created, and must return the Java wrapper object of the tile (so it'd be better to implement this callback in Java as well).
Remember! All the parameters provided by the callback are crucial for the created block entity and required to be put into its Java wrapper object.
4.0