Uses of Interface
de.marcely.bedwars.api.world.block.CustomBlock
Packages that use CustomBlock
-
Uses of CustomBlock in de.marcely.bedwars.api.world.block
Methods in de.marcely.bedwars.api.world.block with parameters of type CustomBlockModifier and TypeMethodDescriptionvoid
CustomBlock.Handler.load
(CustomBlock block, com.google.gson.JsonObject object) You may use the storage feature of the plugin.
This method is getting called when the data is getting loaded.
Load stuff from the JsonObject into the given blockvoid
CustomBlock.Handler.onInteract
(CustomBlock block, Player player, PlayerInteractEvent parentEvent) A player may interact with the block.void
CustomBlock.Handler.save
(CustomBlock block, com.google.gson.JsonObject object) You may use the storage feature of the plugin.
This method is getting called when the data is getting stored.
Load stuff from the given block into the JsonObjectvoid
CustomBlock.Handler.update
(CustomBlock block) Apply stuff to the real world.