Compare commits

..
3 Commits
Author SHA1 Message Date
Martin Robertz f001136b53 update 2025-12-09 17:10:22 +01:00
Martin Robertz ddb0a59964 Merge remote-tracking branch 'CN132DAS/EFRcompat' into dev 2025-12-09 17:10:04 +01:00
CN132DAS 8fedc2aa59 Allow bees use EFR flowers 2025-12-01 15:25:35 +08:00
2 changed files with 7 additions and 23 deletions

No files matched your search

+3 -3
View File
@@ -2,10 +2,10 @@
dependencies {
api('curse.maven:cofh-lib-220333:2388748')
compileOnlyApi('com.github.GTNewHorizons:Angelica:1.0.0-beta64:api')
devOnlyNonPublishable('com.github.GTNewHorizons:NotEnoughItems:2.8.26-GTNH:dev')
compileOnlyApi('com.github.GTNewHorizons:Angelica:1.0.0-beta68:api')
devOnlyNonPublishable('com.github.GTNewHorizons:NotEnoughItems:2.8.40-GTNH:dev')
compileOnly('com.github.GTNewHorizons:inventory-tweaks:1.7.1:api')
compileOnly('com.github.GTNewHorizons:BuildCraft:7.1.45:api')
compileOnly('com.github.GTNewHorizons:BuildCraft:7.1.47:api')
compileOnly('net.industrial-craft:industrialcraft-2:2.2.828-experimental:dev')
compileOnly('curse.maven:craftguide-75557:2459320')
}
@@ -40,26 +40,10 @@ public class PluginEtFuturumRequiem extends ForestryPlugin {
Block Lily = GameRegistry.findBlock(EFR, "lily_of_the_valley");
Block Petals = GameRegistry.findBlock(EFR, "pink_petals");
Block Rose = GameRegistry.findBlock(EFR, "rose");
Block WitherRose = GameRegistry.findBlock(EFR, "wither_rose");
Block ChorusFlower = GameRegistry.findBlock(EFR, "chorus_flower");
if (CornFlower != null) {
FlowerManager.flowerRegistry.registerAcceptableFlower(CornFlower, FlowerManager.FlowerTypeVanilla);
}
if (Lily != null) {
FlowerManager.flowerRegistry.registerAcceptableFlower(Lily, FlowerManager.FlowerTypeVanilla);
}
if (Petals != null) {
FlowerManager.flowerRegistry.registerAcceptableFlower(Petals, FlowerManager.FlowerTypeVanilla);
}
if (Rose != null) {
FlowerManager.flowerRegistry.registerAcceptableFlower(Rose, FlowerManager.FlowerTypeVanilla);
}
if (WitherRose != null) {
FlowerManager.flowerRegistry.registerAcceptableFlower(WitherRose, FlowerManager.FlowerTypeNether);
}
if (ChorusFlower != null) {
FlowerManager.flowerRegistry.registerAcceptableFlower(ChorusFlower, FlowerManager.FlowerTypeEnd);
}
FlowerManager.flowerRegistry.registerAcceptableFlower(CornFlower, FlowerManager.FlowerTypeVanilla);
FlowerManager.flowerRegistry.registerAcceptableFlower(Lily, FlowerManager.FlowerTypeVanilla);
FlowerManager.flowerRegistry.registerAcceptableFlower(Petals, FlowerManager.FlowerTypeVanilla);
FlowerManager.flowerRegistry.registerAcceptableFlower(Rose, FlowerManager.FlowerTypeVanilla);
}
}