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 NamespaceID
Gets the id of this handler.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:BlockHandler
Gets the id of this handler.Used to write the block entity in the anvil world format.
- Specified by:
getNamespaceId
in interfaceBlockHandler
- Returns:
- the namespace id of this handler
-