public static class BukkitBlockRegistry.BukkitBlockMaterial
extends com.sk89q.worldedit.world.registry.PassthroughBlockMaterial
Constructor and Description |
---|
BukkitBlockMaterial(com.sk89q.worldedit.world.registry.BlockMaterial material,
org.bukkit.Material bukkitMaterial) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAir() |
boolean |
isBurnable() |
boolean |
isSolid() |
boolean |
isTranslucent() |
getHardness, getLightValue, getResistance, getSlipperiness, hasContainer, isFragileWhenPushed, isFullCube, isLiquid, isMovementBlocker, isOpaque, isPowerSource, isReplacedDuringPlacement, isTicksRandomly, isToolRequired, isUnpushable
public BukkitBlockMaterial(@Nullable com.sk89q.worldedit.world.registry.BlockMaterial material, org.bukkit.Material bukkitMaterial)
public boolean isAir()
isAir
in interface com.sk89q.worldedit.world.registry.BlockMaterial
isAir
in class com.sk89q.worldedit.world.registry.PassthroughBlockMaterial
public boolean isSolid()
isSolid
in interface com.sk89q.worldedit.world.registry.BlockMaterial
isSolid
in class com.sk89q.worldedit.world.registry.PassthroughBlockMaterial
public boolean isBurnable()
isBurnable
in interface com.sk89q.worldedit.world.registry.BlockMaterial
isBurnable
in class com.sk89q.worldedit.world.registry.PassthroughBlockMaterial
public boolean isTranslucent()
isTranslucent
in interface com.sk89q.worldedit.world.registry.BlockMaterial
isTranslucent
in class com.sk89q.worldedit.world.registry.PassthroughBlockMaterial