public class MaterialPortal 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 |
|---|
MaterialPortal(MapColor color) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
blocksLight()
Will prevent grass from growing on dirt underneath and kill any grass below it if it returns true
|
boolean |
blocksMovement()
Returns if this material is considered solid or not
|
boolean |
isSolid()
Returns true if the block is a considered solid.
|
getCanBurn, getMaterialMapColor, getMaterialMobility, isLiquid, isOpaque, isReplaceable, isToolNotRequired, setAdventureModeExempt, setBurning, setImmovableMobility, setNoPushMobility, setReplaceable, setRequiresToolpublic MaterialPortal(MapColor color)
public boolean isSolid()
public boolean blocksLight()
blocksLight in class Materialpublic boolean blocksMovement()
blocksMovement in class Material