mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-26 23:13:00 +00:00
Update for Forestry 4.0
This commit is contained in:
1 parent
2503c94b83
commit
f1086f3095
24 files changed
+778
-983
No files matched your search
@@ -11,8 +11,7 @@ import forestry.api.genetics.IPollinatable;
|
||||
public class FlowerProviderBotania extends FlowerProvider {
|
||||
|
||||
public FlowerProviderBotania() {
|
||||
super(1);
|
||||
flowers.add(new FlowerImpl(BotaniaHelper.blockMysticalFlower, OreDictionary.WILDCARD_VALUE, 1, true));
|
||||
registerPlantableFlower(BotaniaHelper.blockMysticalFlower, OreDictionary.WILDCARD_VALUE, 1);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -35,8 +34,8 @@ public class FlowerProviderBotania extends FlowerProvider {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAcceptedFlower(World world, IIndividual individual, int x, int y, int z) {
|
||||
return world.getBlock(x, y, z) == BotaniaHelper.blockMysticalFlower;
|
||||
public String getFlowerType() {
|
||||
return "flowersBotania";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user