block cleanup #7
This commit is contained in:
parent
7b25e6181e
commit
9de6017751
41 changed files with 514 additions and 977 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue