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
  • 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 interface com.sk89q.worldedit.world.registry.BlockRegistry
      Overrides:
      getRichName in class com.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 interface com.sk89q.worldedit.world.registry.BlockRegistry
      Overrides:
      getMaterial in class com.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 interface com.sk89q.worldedit.world.registry.BlockRegistry
      Overrides:
      getProperties in class com.sk89q.worldedit.world.registry.BundledBlockRegistry
    • getInternalBlockStateId

      public OptionalInt getInternalBlockStateId(com.sk89q.worldedit.world.block.BlockState state)
      Specified by:
      getInternalBlockStateId in interface com.sk89q.worldedit.world.registry.BlockRegistry
      Overrides:
      getInternalBlockStateId in class com.sk89q.worldedit.world.registry.BundledBlockRegistry