mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-20 04:10:07 +00:00
Adding flower blockstate and blockstatemapper
This commit is contained in:
1 parent
5a64454906
commit
2a23e60cdb
60 files changed
+405
-201
No files matched your search
@@ -944,7 +944,6 @@ public enum FlowerDefinition implements IFlowerDefinition {
|
||||
flowerRood.addConversion(new ItemStack(Blocks.RED_FLOWER, 1, 4), Tulip.addVariant(EnumFlowerColor.Crimson));
|
||||
flowerRood.addConversion(new ItemStack(Blocks.RED_FLOWER, 1, 5), Tulip.addVariant(EnumFlowerColor.DarkOrange));
|
||||
}
|
||||
|
||||
public static FlowerDefinition[] VALUES = values();
|
||||
|
||||
private final IAlleleFlowerSpecies species;
|
||||
@@ -1049,6 +1048,12 @@ public enum FlowerDefinition implements IFlowerDefinition {
|
||||
|
||||
public static void preInitFlowers(){
|
||||
MinecraftForge.EVENT_BUS.post(new AlleleSpeciesRegisterEvent(FlowerManager.flowerRoot));
|
||||
for(FlowerDefinition def : values()){
|
||||
IFlowerType type = def.species.getType();
|
||||
if(EnumFlowerType.highestSection < type.getSections()){
|
||||
EnumFlowerType.highestSection = type.getSections();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void initFlowers() {
|
||||
|
||||
Reference in new issue
Block a user