YATS/Forge Documentation
|
Public Member Functions | |
MaterialLogic (MapColor par1MapColor) | |
boolean | isSolid () |
boolean | getCanBlockGrass () |
boolean | blocksMovement () |
Public Member Functions inherited from net.minecraft.block.material.Material | |
Material (MapColor par1MapColor) | |
boolean | isLiquid () |
boolean | isSolid () |
boolean | getCanBlockGrass () |
boolean | blocksMovement () |
boolean | getCanBurn () |
Material | setReplaceable () |
boolean | isReplaceable () |
boolean | isOpaque () |
boolean | isToolNotRequired () |
int | getMaterialMobility () |
boolean | isAlwaysHarvested () |
net.minecraft.block.material.MaterialLogic.MaterialLogic | ( | MapColor | par1MapColor) |
boolean net.minecraft.block.material.MaterialLogic.blocksMovement | ( | ) |
Returns if this material is considered solid or not
boolean net.minecraft.block.material.MaterialLogic.getCanBlockGrass | ( | ) |
Will prevent grass from growing on dirt underneath and kill any grass below it if it returns true
boolean net.minecraft.block.material.MaterialLogic.isSolid | ( | ) |