Class BlockHandler.Dummy
java.lang.Object
net.minestom.server.instance.block.BlockHandler.Dummy
- All Implemented Interfaces:
BlockHandler
- Enclosing interface:
BlockHandler
Handler used for loaded blocks with unknown namespace
in order to do not lose the information while saving, and for runtime debugging purpose.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minestom.server.instance.block.BlockHandler
BlockHandler.Destroy, BlockHandler.Dummy, BlockHandler.Interaction, BlockHandler.Placement, BlockHandler.PlayerDestroy, BlockHandler.PlayerPlacement, BlockHandler.Tick, BlockHandler.Touch -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull BlockHandler@NotNull NamespaceIDGets the id of this handler.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minestom.server.instance.block.BlockHandler
getBlockEntityAction, getBlockEntityTags, isTickable, onDestroy, onInteract, onPlace, onTouch, tick
-
Method Details
-
get
-
getNamespaceId
Description copied from interface:BlockHandlerGets the id of this handler.Used to write the block entity in the anvil world format.
- Specified by:
getNamespaceIdin interfaceBlockHandler- Returns:
- the namespace id of this handler
-