net.minecraft.block.material
Class MaterialPortal

java.lang.Object
  extended by net.minecraft.block.material.Material
      extended by net.minecraft.block.material.MaterialPortal

public class MaterialPortal
extends Material


Field Summary
 
Fields inherited from class net.minecraft.block.material.Material
air, anvil, cactus, cake, circuits, clay, cloth, coral, craftedSnow, dragonEgg, fire, glass, grass, ground, ice, iron, lava, leaves, materialMapColor, piston, plants, portal, pumpkin, redstoneLight, rock, sand, snow, sponge, tnt, vine, water, web, wood
 
Constructor Summary
MaterialPortal(MapColor par1MapColor)
           
 
Method Summary
 boolean blocksMovement()
          Returns if this material is considered solid or not
 boolean getCanBlockGrass()
          Will prevent grass from growing on dirt underneath and kill any grass below it if it returns true
 boolean isSolid()
           
 
Methods inherited from class net.minecraft.block.material.Material
func_85157_q, getCanBurn, getMaterialMobility, isLiquid, isOpaque, isReplaceable, isToolNotRequired, setReplaceable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaterialPortal

public MaterialPortal(MapColor par1MapColor)
Method Detail

isSolid

public boolean isSolid()
Overrides:
isSolid in class Material

getCanBlockGrass

public boolean getCanBlockGrass()
Will prevent grass from growing on dirt underneath and kill any grass below it if it returns true

Overrides:
getCanBlockGrass in class Material

blocksMovement

public boolean blocksMovement()
Returns if this material is considered solid or not

Overrides:
blocksMovement in class Material