public class MaterialLiquid 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 |
|---|
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, getMaterialMobility, isOpaque, isReplaceable, isToolNotRequired, setAdventureModeExempt, setBurning, setImmovableMobility, setNoPushMobility, setReplaceable, setRequiresToolpublic MaterialLiquid(MapColor color)
public boolean isLiquid()
public boolean blocksMovement()
blocksMovement in class Material