Removed unused GT API
This commit is contained in:
@@ -1,29 +0,0 @@
|
|||||||
package gregtechmod.api.interfaces;
|
|
||||||
|
|
||||||
import net.minecraft.item.ItemStack;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* You are allowed to include this File in your Download, as i will not change it.
|
|
||||||
*/
|
|
||||||
public interface IDigitalChest extends IHasWorldObjectAndCoords {
|
|
||||||
/**
|
|
||||||
* Is this even a TileEntity of a Digital Chest?
|
|
||||||
* I need things like this Function for MetaTileEntities, you MUST check this!!!
|
|
||||||
* Do not assume that it's a Digital Chest or similar Device, when it just implements this Interface.
|
|
||||||
*/
|
|
||||||
public boolean isDigitalChest();
|
|
||||||
/**
|
|
||||||
* Gives an Array of Stacks with Size (of all the Data-stored Items) of the correspondent Item kinds (regular QChests have only one)
|
|
||||||
* Does NOT include the 64 "ready" Items inside the Slots, and neither the 128 Items in the overflow Buffer.
|
|
||||||
*/
|
|
||||||
public ItemStack[] getStoredItemData();
|
|
||||||
/**
|
|
||||||
* A generic Interface for just setting the amount of contained Items
|
|
||||||
*/
|
|
||||||
public void setItemCount(int aCount);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Gets the maximum Item count for this QChest alike Storage. This applies to the Data-Storage, not for the up to 192 buffered Items!
|
|
||||||
*/
|
|
||||||
public int getMaxItemCount();
|
|
||||||
}
|
|
||||||
@@ -1,75 +0,0 @@
|
|||||||
package gregtechmod.api.interfaces;
|
|
||||||
|
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
|
||||||
import net.minecraft.inventory.IInventory;
|
|
||||||
import net.minecraft.nbt.NBTTagCompound;
|
|
||||||
import net.minecraft.tileentity.TileEntity;
|
|
||||||
import net.minecraft.world.World;
|
|
||||||
import net.minecraft.world.biome.BiomeGenBase;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This is a bunch of Functions my TileEntities provide, to make life much easier, and to get rid of internal TileEntity stuff.
|
|
||||||
*/
|
|
||||||
public interface IHasWorldObjectAndCoords {
|
|
||||||
public World getWorld();
|
|
||||||
public int getXCoord();
|
|
||||||
public int getYCoord();
|
|
||||||
public int getZCoord();
|
|
||||||
|
|
||||||
public boolean isServerSide();
|
|
||||||
public boolean isClientSide();
|
|
||||||
|
|
||||||
public int getRandomNumber(int aRange);
|
|
||||||
|
|
||||||
public TileEntity getTileEntity(int aX, int aY, int aZ);
|
|
||||||
public TileEntity getTileEntityOffset(int aX, int aY, int aZ);
|
|
||||||
public TileEntity getTileEntityAtSide(byte aSide);
|
|
||||||
public TileEntity getTileEntityAtSideAndDistance(byte aSide, int aDistance);
|
|
||||||
|
|
||||||
public IInventory getIInventory(int aX, int aY, int aZ);
|
|
||||||
public IInventory getIInventoryOffset(int aX, int aY, int aZ);
|
|
||||||
public IInventory getIInventoryAtSide(byte aSide);
|
|
||||||
public IInventory getIInventoryAtSideAndDistance(byte aSide, int aDistance);
|
|
||||||
|
|
||||||
public short getBlockID(int aX, int aY, int aZ);
|
|
||||||
public short getBlockIDOffset(int aX, int aY, int aZ);
|
|
||||||
public short getBlockIDAtSide(byte aSide);
|
|
||||||
public short getBlockIDAtSideAndDistance(byte aSide, int aDistance);
|
|
||||||
|
|
||||||
public byte getMetaID(int aX, int aY, int aZ);
|
|
||||||
public byte getMetaIDOffset(int aX, int aY, int aZ);
|
|
||||||
public byte getMetaIDAtSide(byte aSide);
|
|
||||||
public byte getMetaIDAtSideAndDistance(byte aSide, int aDistance);
|
|
||||||
|
|
||||||
public byte getLightLevel(int aX, int aY, int aZ);
|
|
||||||
public byte getLightLevelOffset(int aX, int aY, int aZ);
|
|
||||||
public byte getLightLevelAtSide(byte aSide);
|
|
||||||
public byte getLightLevelAtSideAndDistance(byte aSide, int aDistance);
|
|
||||||
|
|
||||||
public boolean getSky(int aX, int aY, int aZ);
|
|
||||||
public boolean getSkyOffset(int aX, int aY, int aZ);
|
|
||||||
public boolean getSkyAtSide(byte aSide);
|
|
||||||
public boolean getSkyAtSideAndDistance(byte aSide, int aDistance);
|
|
||||||
|
|
||||||
public BiomeGenBase getBiome(int aX, int aZ);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Function of the regular TileEntity
|
|
||||||
*/
|
|
||||||
public void writeToNBT(NBTTagCompound aNBT);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Function of the regular TileEntity
|
|
||||||
*/
|
|
||||||
public void readFromNBT(NBTTagCompound aNBT);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Function of the regular TileEntity
|
|
||||||
*/
|
|
||||||
public boolean isInvalid();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Opens GUI-ID of any Mod
|
|
||||||
*/
|
|
||||||
public void openGUI(EntityPlayer aPlayer, int aID, Object aMod);
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user