public class MCMaterial
extends java.lang.Object
implements crafttweaker.api.block.IMaterial
Constructor and Description |
---|
MCMaterial(net.minecraft.block.material.Material material) |
Modifier and Type | Method and Description |
---|---|
boolean |
blocksLight() |
boolean |
blocksMovement() |
boolean |
getCanBurn() |
java.lang.Object |
getInternal() |
crafttweaker.api.block.IMobilityFlag |
getMobilityFlag() |
boolean |
isLiquid() |
boolean |
isOpaque() |
boolean |
isReplaceable() |
boolean |
isSolid() |
boolean |
isToolNotRequired() |
boolean |
matches(crafttweaker.api.block.IMaterial other) |
crafttweaker.api.block.IMaterial |
setReplaceable() |
public boolean blocksLight()
blocksLight
in interface crafttweaker.api.block.IMaterial
public boolean blocksMovement()
blocksMovement
in interface crafttweaker.api.block.IMaterial
public boolean getCanBurn()
getCanBurn
in interface crafttweaker.api.block.IMaterial
public crafttweaker.api.block.IMobilityFlag getMobilityFlag()
getMobilityFlag
in interface crafttweaker.api.block.IMaterial
public boolean isLiquid()
isLiquid
in interface crafttweaker.api.block.IMaterial
public boolean isOpaque()
isOpaque
in interface crafttweaker.api.block.IMaterial
public boolean isReplaceable()
isReplaceable
in interface crafttweaker.api.block.IMaterial
public boolean isSolid()
isSolid
in interface crafttweaker.api.block.IMaterial
public boolean isToolNotRequired()
isToolNotRequired
in interface crafttweaker.api.block.IMaterial
public crafttweaker.api.block.IMaterial setReplaceable()
setReplaceable
in interface crafttweaker.api.block.IMaterial
public boolean matches(crafttweaker.api.block.IMaterial other)
matches
in interface crafttweaker.api.block.IMaterial
public java.lang.Object getInternal()
getInternal
in interface crafttweaker.api.block.IMaterial