public class MaterialPortal 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 |
---|
MaterialPortal(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 MaterialPortal(MapColor color)
public boolean blocksLight()
blocksLight
in class Material
public boolean blocksMovement()
blocksMovement
in class Material