BlockEntityClientSerializable

public interface BlockEntityClientSerializable

Implement this interface on a BlockEntity which you would like to be synchronized with the client side using the built-in engine methods.

Functions

fromClientTag
Link copied to clipboard
abstract void fromClientTag(NbtCompound tag)
sync
Link copied to clipboard
void sync()
When called on the server, schedules a BlockEntity sync to client.
toClientTag
Link copied to clipboard
abstract NbtCompound toClientTag(NbtCompound tag)

Sources

jvm source
Link copied to clipboard