remove block metadata functions
This commit is contained in:
parent
6ef8caddbe
commit
244220f78c
63 changed files with 0 additions and 619 deletions
|
@ -256,14 +256,6 @@ public class BlockDoublePlant extends BlockBush implements IGrowable
|
|||
spawnAsEntity(worldIn, pos, new ItemStack(this.getItem()));
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given metadata into a BlockState for this Block
|
||||
*/
|
||||
public State getStateFromMeta(int meta)
|
||||
{
|
||||
return (meta & 8) > 0 ? this.getState().withProperty(HALF, BlockDoublePlant.EnumBlockHalf.UPPER) : this.getState().withProperty(HALF, BlockDoublePlant.EnumBlockHalf.LOWER);
|
||||
}
|
||||
|
||||
protected Property[] getProperties()
|
||||
{
|
||||
return new Property[] {HALF};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue