public class Material
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
blocksLight() |
boolean |
blocksMovement() |
boolean |
getCanBurn() |
MapColor |
getMaterialMapColor() |
EnumPushReaction |
getMobilityFlag() |
boolean |
isLiquid() |
boolean |
isOpaque() |
boolean |
isReplaceable() |
boolean |
isSolid() |
boolean |
isToolNotRequired() |
protected Material |
setAdventureModeExempt() |
protected Material |
setBurning() |
protected Material |
setImmovableMobility() |
protected Material |
setNoPushMobility() |
Material |
setReplaceable() |
protected Material |
setRequiresTool() |
private Material |
setTranslucent() |
public static final Material AIR
public static final Material GRASS
public static final Material GROUND
public static final Material WOOD
public static final Material ROCK
public static final Material IRON
public static final Material ANVIL
public static final Material WATER
public static final Material LAVA
public static final Material LEAVES
public static final Material PLANTS
public static final Material VINE
public static final Material SPONGE
public static final Material CLOTH
public static final Material FIRE
public static final Material SAND
public static final Material CIRCUITS
public static final Material CARPET
public static final Material GLASS
public static final Material REDSTONE_LIGHT
public static final Material TNT
public static final Material CORAL
public static final Material ICE
public static final Material PACKED_ICE
public static final Material SNOW
public static final Material CRAFTED_SNOW
public static final Material CACTUS
public static final Material CLAY
public static final Material GOURD
public static final Material DRAGON_EGG
public static final Material PORTAL
public static final Material CAKE
public static final Material WEB
public static final Material PISTON
public static final Material BARRIER
public static final Material STRUCTURE_VOID
private boolean canBurn
private boolean replaceable
private boolean isTranslucent
private final MapColor materialMapColor
private boolean requiresNoTool
private EnumPushReaction mobilityFlag
private boolean isAdventureModeExempt
public Material(MapColor color)
public boolean isLiquid()
public boolean isSolid()
public boolean blocksLight()
public boolean blocksMovement()
private Material setTranslucent()
protected Material setRequiresTool()
protected Material setBurning()
public boolean getCanBurn()
public Material setReplaceable()
public boolean isReplaceable()
public boolean isOpaque()
public boolean isToolNotRequired()
public EnumPushReaction getMobilityFlag()
protected Material setNoPushMobility()
protected Material setImmovableMobility()
protected Material setAdventureModeExempt()
public MapColor getMaterialMapColor()