Add a way to get all the Alveary components from the Alveary Controller

This commit is contained in:
mezz committed 2015-08-01 00:16:54 -07:00
1 parent 6845a0f71b
commit 0a79ead98d
3 files changed
+53 -30

No files matched your search

@@ -20,6 +20,7 @@ import net.minecraft.world.biome.BiomeGenBase;
import com.mojang.authlib.GameProfile;
import forestry.api.apiculture.IAlvearyComponent;
import forestry.api.apiculture.IBeeHousingInventory;
import forestry.api.apiculture.IBeeListener;
import forestry.api.apiculture.IBeeModifier;
@@ -54,6 +55,11 @@ public class FakeAlvearyController implements IAlvearyController {
return Collections.emptyList();
}
@Override
public Iterable<IAlvearyComponent> getComponents() {
return Collections.emptyList();
}
@Override
public IBeeHousingInventory getBeeInventory() {
return FakeBeeHousingInventory.instance;