Modifier and Type | Field and Description |
---|---|
protected int |
stateID |
Constructor and Description |
---|
BitBrush(int blockStateID) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.item.ItemStack |
getItemStack(int count)
Get the ItemStack for a bit, which is empty for air.
|
net.minecraft.block.state.IBlockState |
getState()
Gets the corresponding block state.
|
int |
getStateID() |
boolean |
isAir() |
public net.minecraft.item.ItemStack getItemStack(int count)
IBitBrush
getItemStack
in interface IBitBrush
public boolean isAir()
@Nullable public net.minecraft.block.state.IBlockState getState()
IBitBrush
public int getStateID()
getStateID
in interface IBitBrush
IBlockState