remove block metadata functions

This commit is contained in:
Sen 2025-06-27 21:16:54 +02:00
parent 6ef8caddbe
commit 244220f78c
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
63 changed files with 0 additions and 619 deletions

View file

@ -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};