Fix #1845 API has references to internal classes

This commit is contained in:
mezz committed 2017-09-07 19:23:59 -07:00
1 parent b9924ea98b
commit 0ebced9609
5 files changed
+15 -22

No files matched your search

@@ -10,10 +10,9 @@ import java.util.List;
import forestry.api.core.INbtReadable;
import forestry.api.core.INbtWritable;
import forestry.core.network.IStreamable;
import forestry.core.network.PacketBufferForestry;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.network.PacketBuffer;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.math.BlockPos;
import net.minecraftforge.fml.relauncher.Side;
@@ -24,7 +23,7 @@ import net.minecraftforge.fml.relauncher.SideOnly;
* Get one with BeeManager.beeRoot.createBeekeepingLogic(IBeeHousing housing)
* Save and load it to NBT using the INbtWritable methods.
*/
public interface IBeekeepingLogic extends INbtWritable, INbtReadable, IStreamable {
public interface IBeekeepingLogic extends INbtWritable, INbtReadable {
/* SERVER */
@@ -83,13 +82,11 @@ public interface IBeekeepingLogic extends INbtWritable, INbtReadable, IStreamabl
*/
List<BlockPos> getFlowerPositions();
@Override
default void readData(PacketBufferForestry data) throws IOException {
default void readData(PacketBuffer data) throws IOException {
}
@Override
default void writeData(PacketBufferForestry data) {
default void writeData(PacketBuffer data) {
}
}