net.minecraft.block.material.Material.Material |
( |
MapColor |
par1MapColor) | |
|
boolean net.minecraft.block.material.Material.blocksMovement |
( |
) | |
|
Returns if this material is considered solid or not
boolean net.minecraft.block.material.Material.getCanBlockGrass |
( |
) | |
|
Will prevent grass from growing on dirt underneath and kill any grass below it if it returns true
boolean net.minecraft.block.material.Material.getCanBurn |
( |
) | |
|
Returns if the block can burn or not.
int net.minecraft.block.material.Material.getMaterialMobility |
( |
) | |
|
Returns the mobility information of the material, 0 = free, 1 = can't push but can move over, 2 = total immobility and stop pistons.
boolean net.minecraft.block.material.Material.isAlwaysHarvested |
( |
) | |
|
Check to see if we can harvest it in any case.
boolean net.minecraft.block.material.Material.isLiquid |
( |
) | |
|
Returns if blocks of these materials are liquids.
boolean net.minecraft.block.material.Material.isOpaque |
( |
) | |
|
Indicate if the material is opaque
boolean net.minecraft.block.material.Material.isReplaceable |
( |
) | |
|
Returns whether the material can be replaced by other blocks when placed - eg snow, vines and tall grass.
boolean net.minecraft.block.material.Material.isSolid |
( |
) | |
|
boolean net.minecraft.block.material.Material.isToolNotRequired |
( |
) | |
|
Returns true if the material can be harvested without a tool (or with the wrong tool)
Material net.minecraft.block.material.Material.setAlwaysHarvested |
( |
) | |
|
|
protected |
Set as harvestable in any case.
Material net.minecraft.block.material.Material.setBurning |
( |
) | |
|
|
protected |
Set the canBurn bool to True and return the current object.
Material net.minecraft.block.material.Material.setImmovableMobility |
( |
) | |
|
|
protected |
This type of material can't be pushed, and pistons are blocked to move.
Material net.minecraft.block.material.Material.setNoPushMobility |
( |
) | |
|
|
protected |
This type of material can't be pushed, but pistons can move over it.
Material net.minecraft.block.material.Material.setReplaceable |
( |
) | |
|
Material net.minecraft.block.material.Material.setRequiresTool |
( |
) | |
|
|
protected |
Makes blocks with this material require the correct tool to be harvested.
The material for crafted snow.
final MapColor net.minecraft.block.material.Material.materialMapColor |
The color index used to draw the blocks of this material on maps.
The documentation for this class was generated from the following file:
- C:/Users/LazDude/Downloads/MinecraftModding/YATS/forge/mcp/src/minecraft/net/minecraft/block/material/Material.java