mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-21 20:52:42 +00:00
Added support for MFR rubber trees.
This commit is contained in:
1 parent
2e438bc4e8
commit
b2969a172c
1 file changed
+11
@@ -21,6 +21,7 @@ public final class FarmersRegistry {
|
||||
addTiC();
|
||||
addStillHungry();
|
||||
addIC2();
|
||||
addMFR();
|
||||
|
||||
FarmersCommune.instance.joinCommune(new StemFarmer(Blocks.reeds, new ItemStack(Items.reeds)));
|
||||
FarmersCommune.instance.joinCommune(new StemFarmer(Blocks.cactus, new ItemStack(Blocks.cactus)));
|
||||
@@ -140,6 +141,16 @@ public final class FarmersRegistry {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static void addMFR() {
|
||||
String mod = "MineFactoryReloaded";
|
||||
String blockName = "tile.mfr.rubberwood.sapling";
|
||||
Block saplingBlock = GameRegistry.findBlock(mod, blockName);
|
||||
if(saplingBlock != null) {
|
||||
FarmersCommune.instance.joinCommune(new TreeFarmer(saplingBlock, GameRegistry.findBlock(mod, "tile.mfr.rubberwood.log")));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private static void addIC2() {
|
||||
RubberTreeFarmerIC2 rtf = new RubberTreeFarmerIC2();
|
||||
|
||||
Reference in new issue
Block a user