Package com.sk89q.worldedit.bukkit
Class BukkitBlockRegistry
java.lang.Object
com.sk89q.worldedit.world.registry.BundledBlockRegistry
com.sk89q.worldedit.bukkit.BukkitBlockRegistry
- All Implemented Interfaces:
com.sk89q.worldedit.world.registry.BlockRegistry
public class BukkitBlockRegistry
extends com.sk89q.worldedit.world.registry.BundledBlockRegistry
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetInternalBlockStateId
(com.sk89q.worldedit.world.block.BlockState state) com.sk89q.worldedit.world.registry.BlockMaterial
getMaterial
(com.sk89q.worldedit.world.block.BlockType blockType) getProperties
(com.sk89q.worldedit.world.block.BlockType blockType) com.sk89q.worldedit.util.formatting.text.Component
getRichName
(com.sk89q.worldedit.world.block.BlockType blockType) Methods inherited from class com.sk89q.worldedit.world.registry.BundledBlockRegistry
getName
-
Constructor Details
-
BukkitBlockRegistry
public BukkitBlockRegistry()
-
-
Method Details
-
getRichName
public com.sk89q.worldedit.util.formatting.text.Component getRichName(com.sk89q.worldedit.world.block.BlockType blockType) - Specified by:
getRichName
in interfacecom.sk89q.worldedit.world.registry.BlockRegistry
- Overrides:
getRichName
in classcom.sk89q.worldedit.world.registry.BundledBlockRegistry
-
getMaterial
@Nullable public com.sk89q.worldedit.world.registry.BlockMaterial getMaterial(com.sk89q.worldedit.world.block.BlockType blockType) - Specified by:
getMaterial
in interfacecom.sk89q.worldedit.world.registry.BlockRegistry
- Overrides:
getMaterial
in classcom.sk89q.worldedit.world.registry.BundledBlockRegistry
-
getProperties
@Nullable public Map<String,? extends com.sk89q.worldedit.registry.state.Property<?>> getProperties(com.sk89q.worldedit.world.block.BlockType blockType) - Specified by:
getProperties
in interfacecom.sk89q.worldedit.world.registry.BlockRegistry
- Overrides:
getProperties
in classcom.sk89q.worldedit.world.registry.BundledBlockRegistry
-
getInternalBlockStateId
- Specified by:
getInternalBlockStateId
in interfacecom.sk89q.worldedit.world.registry.BlockRegistry
- Overrides:
getInternalBlockStateId
in classcom.sk89q.worldedit.world.registry.BundledBlockRegistry
-