public class MaterialLogic extends Material
AIR, ANVIL, BARRIER, CACTUS, CAKE, CARPET, CIRCUITS, CLAY, CLOTH, CORAL, CRAFTED_SNOW, DRAGON_EGG, FIRE, GLASS, GOURD, GRASS, GROUND, ICE, IRON, LAVA, LEAVES, PACKED_ICE, PISTON, PLANTS, PORTAL, REDSTONE_LIGHT, ROCK, SAND, SNOW, SPONGE, TNT, VINE, WATER, WEB, WOOD
Constructor and Description |
---|
MaterialLogic(MapColor color) |
Modifier and Type | Method and Description |
---|---|
boolean |
blocksLight() |
boolean |
blocksMovement() |
boolean |
isSolid() |
getCanBurn, getMaterialMapColor, getMobilityFlag, isLiquid, isOpaque, isReplaceable, isToolNotRequired, setAdventureModeExempt, setBurning, setImmovableMobility, setNoPushMobility, setReplaceable, setRequiresTool
public MaterialLogic(MapColor color)
public boolean blocksLight()
blocksLight
in class Material
public boolean blocksMovement()
blocksMovement
in class Material