Tidy bee cart code

This commit is contained in:
mezz committed 2015-11-07 15:15:54 -08:00
1 parent 3770d34926
commit 63a48b2ea2
2 files changed
+3 -17

No files matched your search

@@ -35,10 +35,11 @@ import forestry.core.entities.EntityMinecartContainerForestry;
import forestry.core.network.DataInputStreamForestry;
import forestry.core.network.DataOutputStreamForestry;
import forestry.core.network.IForestryPacketServer;
import forestry.core.network.IStreamableGui;
import forestry.core.proxy.Proxies;
import forestry.core.tiles.IClimatised;
public abstract class EntityMinecartBeeHousingBase extends EntityMinecartContainerForestry implements IBeeHousing, IGuiBeeHousingInventory, IClimatised {
public abstract class EntityMinecartBeeHousingBase extends EntityMinecartContainerForestry implements IBeeHousing, IGuiBeeHousingInventory, IClimatised, IStreamableGui {
private static final Random random = new Random();
private static final int beeFXInterval = 4;
private static final int pollenFXInterval = 50;
@@ -10,8 +10,6 @@
******************************************************************************/
package forestry.core.entities;
import java.io.IOException;
import net.minecraft.block.Block;
import net.minecraft.entity.item.EntityMinecart;
import net.minecraft.entity.player.EntityPlayer;
@@ -31,13 +29,10 @@ import forestry.core.access.EnumAccess;
import forestry.core.access.IAccessHandler;
import forestry.core.access.IRestrictedAccess;
import forestry.core.gui.IHintSource;
import forestry.core.network.DataInputStreamForestry;
import forestry.core.network.DataOutputStreamForestry;
import forestry.core.network.GuiId;
import forestry.core.network.IStreamableGui;
import forestry.core.tiles.ITitled;
public abstract class EntityMinecartForestry extends EntityMinecart implements IStreamableGui, ITitled, IRestrictedAccess, IHintSource {
public abstract class EntityMinecartForestry extends EntityMinecart implements ITitled, IRestrictedAccess, IHintSource {
private final AccessHandler accessHandler = new AccessHandler(this);
@SuppressWarnings("unused")
@@ -74,16 +69,6 @@ public abstract class EntityMinecartForestry extends EntityMinecart implements I
return -1;
}
@Override
public void writeGuiData(DataOutputStreamForestry data) throws IOException {
}
@Override
public void readGuiData(DataInputStreamForestry data) throws IOException {
}
@Override
protected void readEntityFromNBT(NBTTagCompound nbtTagCompound) {
super.readEntityFromNBT(nbtTagCompound);