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 BlockHandler
BlockHandler.Destroy, BlockHandler.Dummy, BlockHandler.Interaction, BlockHandler.Placement, BlockHandler.PlayerDestroy, BlockHandler.PlayerPlacement, BlockHandler.Tick, BlockHandler.Touch -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BlockHandler
getBlockEntityAction, getBlockEntityTags, isTickable, onDestroy, onInteract, onPlace, onTouch, tick
-
Method Details
-
get
-
getKey
Description copied from interface:BlockHandlerGets the id of this handler.Used to write the block entity in the anvil world format.
- Specified by:
getKeyin interfaceBlockHandler- Returns:
- the key of this handler
-