mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-17 19:05:31 +00:00
105 lines
2.6 KiB
Java
105 lines
2.6 KiB
Java
/*******************************************************************************
|
|
* Copyright (c) 2011-2014 SirSengir.
|
|
* All rights reserved. This program and the accompanying materials
|
|
* are made available under the terms of the GNU Lesser Public License v3
|
|
* which accompanies this distribution, and is available at
|
|
* http://www.gnu.org/licenses/lgpl-3.0.txt
|
|
*
|
|
* Various Contributors including, but not limited to:
|
|
* SirSengir (original work), CovertJaguar, Player, Binnie, MysteriousAges
|
|
******************************************************************************/
|
|
package forestry.apiculture.multiblock;
|
|
|
|
import javax.annotation.Nonnull;
|
|
import java.util.Collections;
|
|
|
|
import net.minecraft.util.math.BlockPos;
|
|
import net.minecraft.util.math.Vec3d;
|
|
import net.minecraft.world.biome.Biome;
|
|
|
|
import com.mojang.authlib.GameProfile;
|
|
|
|
import forestry.api.apiculture.IBeeHousingInventory;
|
|
import forestry.api.apiculture.IBeeListener;
|
|
import forestry.api.apiculture.IBeeModifier;
|
|
import forestry.api.apiculture.IBeekeepingLogic;
|
|
import forestry.apiculture.FakeBeekeepingLogic;
|
|
import forestry.apiculture.tiles.FakeBeeHousingInventory;
|
|
import forestry.core.inventory.FakeInventoryAdapter;
|
|
import forestry.core.inventory.IInventoryAdapter;
|
|
import forestry.core.multiblock.FakeMultiblockController;
|
|
|
|
public class FakeAlvearyController extends FakeMultiblockController implements IAlvearyControllerInternal {
|
|
public static final FakeAlvearyController instance = new FakeAlvearyController();
|
|
|
|
private FakeAlvearyController() {
|
|
|
|
}
|
|
|
|
@Override
|
|
public Iterable<IBeeModifier> getBeeModifiers() {
|
|
return Collections.emptyList();
|
|
}
|
|
|
|
@Override
|
|
public Iterable<IBeeListener> getBeeListeners() {
|
|
return Collections.emptyList();
|
|
}
|
|
|
|
@Nonnull
|
|
@Override
|
|
public IBeeHousingInventory getBeeInventory() {
|
|
return FakeBeeHousingInventory.instance;
|
|
}
|
|
|
|
@Override
|
|
public IBeekeepingLogic getBeekeepingLogic() {
|
|
return FakeBeekeepingLogic.instance;
|
|
}
|
|
|
|
@Override
|
|
public int getBlockLightValue() {
|
|
return 0;
|
|
}
|
|
|
|
@Override
|
|
public boolean canBlockSeeTheSky() {
|
|
return false;
|
|
}
|
|
|
|
@Override
|
|
public GameProfile getOwner() {
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public BlockPos getCoordinates() {
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public Vec3d getBeeFXCoordinates() {
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public Biome getBiome() {
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public IInventoryAdapter getInternalInventory() {
|
|
return FakeInventoryAdapter.instance();
|
|
}
|
|
|
|
@Override
|
|
public int getHealthScaled(int i) {
|
|
return 0;
|
|
}
|
|
|
|
@Override
|
|
public String getUnlocalizedType() {
|
|
return "for.multiblock.alveary.type";
|
|
}
|
|
}
|