|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.minecraft.block.material.Material
net.minecraft.block.material.MaterialLogic
public class MaterialLogic
| 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 | |
|---|---|
MaterialLogic(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 |
|---|
public MaterialLogic(MapColor par1MapColor)
| Method Detail |
|---|
public boolean isSolid()
isSolid in class Materialpublic boolean getCanBlockGrass()
getCanBlockGrass in class Materialpublic boolean blocksMovement()
blocksMovement in class Material
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||