public class MaterialLogic extends Material
air, anvil, barrier, cactus, cake, carpet, circuits, clay, cloth, coral, craftedSnow, dragonEgg, fire, glass, gourd, grass, ground, ice, iron, lava, leaves, packedIce, piston, plants, portal, redstoneLight, 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, getMaterialMobility, 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