public class MaterialLiquid 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, STRUCTURE_VOID, TNT, VINE, WATER, WEB, WOOD
Constructor and Description |
---|
MaterialLiquid(MapColor color) |
Modifier and Type | Method and Description |
---|---|
boolean |
blocksMovement()
Returns if this material is considered solid or not
|
boolean |
isLiquid()
Returns if blocks of these materials are liquids.
|
boolean |
isSolid()
Returns true if the block is a considered solid.
|
blocksLight, getCanBurn, getMaterialMapColor, getMobilityFlag, isOpaque, isReplaceable, isToolNotRequired, setAdventureModeExempt, setBurning, setImmovableMobility, setNoPushMobility, setReplaceable, setRequiresTool
public MaterialLiquid(MapColor color)
public boolean isLiquid()
public boolean blocksMovement()
blocksMovement
in class Material