public class MCWorldBlock
extends java.lang.Object
implements crafttweaker.api.block.IBlock
Constructor and Description |
---|
MCWorldBlock(net.minecraft.world.IBlockAccess blocks,
int x,
int y,
int z) |
Modifier and Type | Method and Description |
---|---|
java.util.List<crafttweaker.api.block.IBlock> |
getBlocks() |
crafttweaker.api.block.IBlockDefinition |
getDefinition() |
java.lang.String |
getDisplayName() |
int |
getMeta() |
crafttweaker.api.data.IData |
getTileData() |
boolean |
matches(crafttweaker.api.block.IBlock block) |
crafttweaker.api.block.IBlockPattern |
or(crafttweaker.api.block.IBlockPattern pattern) |
public MCWorldBlock(net.minecraft.world.IBlockAccess blocks, int x, int y, int z)
public crafttweaker.api.block.IBlockDefinition getDefinition()
getDefinition
in interface crafttweaker.api.block.IBlock
public int getMeta()
getMeta
in interface crafttweaker.api.block.IBlock
public crafttweaker.api.data.IData getTileData()
getTileData
in interface crafttweaker.api.block.IBlock
public java.lang.String getDisplayName()
getDisplayName
in interface crafttweaker.api.block.IBlockPattern
public java.util.List<crafttweaker.api.block.IBlock> getBlocks()
getBlocks
in interface crafttweaker.api.block.IBlockPattern
public boolean matches(crafttweaker.api.block.IBlock block)
matches
in interface crafttweaker.api.block.IBlockPattern
public crafttweaker.api.block.IBlockPattern or(crafttweaker.api.block.IBlockPattern pattern)
or
in interface crafttweaker.api.block.IBlockPattern