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 |
equals(java.lang.Object o) |
boolean |
getCanBurn() |
java.lang.Object |
getInternal() |
crafttweaker.api.block.IMobilityFlag |
getMobilityFlag() |
int |
hashCode() |
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.IMaterialpublic boolean blocksMovement()
blocksMovement in interface crafttweaker.api.block.IMaterialpublic boolean getCanBurn()
getCanBurn in interface crafttweaker.api.block.IMaterialpublic crafttweaker.api.block.IMobilityFlag getMobilityFlag()
getMobilityFlag in interface crafttweaker.api.block.IMaterialpublic boolean isLiquid()
isLiquid in interface crafttweaker.api.block.IMaterialpublic boolean isOpaque()
isOpaque in interface crafttweaker.api.block.IMaterialpublic boolean isReplaceable()
isReplaceable in interface crafttweaker.api.block.IMaterialpublic boolean isSolid()
isSolid in interface crafttweaker.api.block.IMaterialpublic boolean isToolNotRequired()
isToolNotRequired in interface crafttweaker.api.block.IMaterialpublic crafttweaker.api.block.IMaterial setReplaceable()
setReplaceable in interface crafttweaker.api.block.IMaterialpublic boolean matches(crafttweaker.api.block.IMaterial other)
matches in interface crafttweaker.api.block.IMaterialpublic java.lang.Object getInternal()
getInternal in interface crafttweaker.api.block.IMaterialpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object