block cleanup #7

This commit is contained in:
Sen 2025-06-21 18:58:35 +02:00
parent 7b25e6181e
commit 9de6017751
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
41 changed files with 514 additions and 977 deletions

View file

@ -39,6 +39,10 @@ public class BlockDoublePlant extends BlockBush implements Rotatable, IGrowable
public static final BlockDoublePlant[] PLANTS = new BlockDoublePlant[EnumPlantType.values().length];
private final EnumPlantType type;
public static BlockDoublePlant getByType(EnumPlantType type) {
return PLANTS[type.ordinal()];
}
public BlockDoublePlant(EnumPlantType type)
{
@ -319,9 +323,9 @@ public class BlockDoublePlant extends BlockBush implements Rotatable, IGrowable
{
SUNFLOWER(0, "sunflower", "Sonnenblume"),
SYRINGA(1, "syringa", "Flieder"),
GRASS(2, "double_grass", "Hohes Gras"),
FERN(3, "double_fern", "Großer Farn"),
ROSE(4, "double_rose", "Rosenstrauch"),
GRASS(2, "large_tallgrass", "Hohes Gras"),
FERN(3, "large_fern", "Großer Farn"),
ROSE(4, "rose_bush", "Rosenstrauch"),
PAEONIA(5, "paeonia", "Pfingstrose");
private static final BlockDoublePlant.EnumPlantType[] META_LOOKUP = new BlockDoublePlant.EnumPlantType[values().length];