2013-07-16 17:58:02 +10:00
|
|
|
package codechicken.lib.data;
|
|
|
|
|
|
2014-04-09 13:38:05 +10:00
|
|
|
import codechicken.lib.vec.BlockCoord;
|
2013-07-16 17:58:02 +10:00
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
|
import net.minecraft.nbt.NBTTagCompound;
|
|
|
|
|
import net.minecraftforge.fluids.FluidStack;
|
|
|
|
|
|
|
|
|
|
public interface MCDataInput
|
|
|
|
|
{
|
|
|
|
|
public long readLong();
|
|
|
|
|
public int readInt();
|
|
|
|
|
public short readShort();
|
2013-07-22 19:10:53 +10:00
|
|
|
public int readUShort();
|
2013-07-16 17:58:02 +10:00
|
|
|
public byte readByte();
|
2014-04-07 14:02:47 +10:00
|
|
|
public short readUByte();
|
2013-07-16 17:58:02 +10:00
|
|
|
public double readDouble();
|
|
|
|
|
public float readFloat();
|
|
|
|
|
public boolean readBoolean();
|
|
|
|
|
public char readChar();
|
2014-04-07 14:02:47 +10:00
|
|
|
public int readVarShort();
|
|
|
|
|
public int readVarInt();
|
2013-07-16 17:58:02 +10:00
|
|
|
public byte[] readByteArray(int length);
|
|
|
|
|
public String readString();
|
|
|
|
|
public BlockCoord readCoord();
|
|
|
|
|
public NBTTagCompound readNBTTagCompound();
|
|
|
|
|
public ItemStack readItemStack();
|
|
|
|
|
public FluidStack readFluidStack();
|
|
|
|
|
}
|