public abstract class TileEntityReflectWrap
extends net.minecraft.tileentity.TileEntity
implements net.minecraft.inventory.IInventory
| 限定符和类型 | 字段和说明 |
|---|---|
java.lang.reflect.Field[] |
watching |
| 构造器和说明 |
|---|
TileEntityReflectWrap() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear() |
void |
closeInventory(net.minecraft.entity.player.EntityPlayer player) |
net.minecraft.item.ItemStack |
decrStackSize(int index,
int size) |
net.minecraft.util.IChatComponent |
getDisplayName() |
int |
getField(int index)
已过时。
|
int |
getFieldCount()
已过时。
|
int |
getInventoryStackLimit() |
java.lang.String |
getName() |
int |
getSizeInventory() |
net.minecraft.item.ItemStack |
getStackInSlot(int num) |
boolean |
hasCustomName() |
boolean |
isItemValidForSlot(int index,
net.minecraft.item.ItemStack stack) |
boolean |
isUseableByPlayer(net.minecraft.entity.player.EntityPlayer player) |
void |
openInventory(net.minecraft.entity.player.EntityPlayer player) |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound tag) |
net.minecraft.item.ItemStack |
removeStackFromSlot(int index) |
void |
setField(int index,
int value)
已过时。
|
void |
setInventorySlotContents(int i,
net.minecraft.item.ItemStack stack) |
protected abstract int |
stackSize() |
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound tag) |
addInfoToCrashReport, addMapping, canRenderBreaking, createAndLoadEntity, deserializeNBT, func_183000_F, getBlockMetadata, getBlockType, getCapability, getDescriptionPacket, getDistanceSq, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, hasCapability, hasFastRenderer, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, onDataPacket, onLoad, receiveClientEvent, restrictNBTCopy, serializeNBT, setPos, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validateprotected abstract int stackSize()
public java.lang.String getName()
getName 在接口中 net.minecraft.world.IWorldNameablepublic boolean hasCustomName()
hasCustomName 在接口中 net.minecraft.world.IWorldNameablepublic net.minecraft.util.IChatComponent getDisplayName()
getDisplayName 在接口中 net.minecraft.world.IWorldNameablepublic int getSizeInventory()
getSizeInventory 在接口中 net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack getStackInSlot(int num)
getStackInSlot 在接口中 net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack decrStackSize(int index,
int size)
decrStackSize 在接口中 net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack removeStackFromSlot(int index)
removeStackFromSlot 在接口中 net.minecraft.inventory.IInventorypublic void setInventorySlotContents(int i,
net.minecraft.item.ItemStack stack)
setInventorySlotContents 在接口中 net.minecraft.inventory.IInventorypublic int getInventoryStackLimit()
getInventoryStackLimit 在接口中 net.minecraft.inventory.IInventorypublic boolean isUseableByPlayer(net.minecraft.entity.player.EntityPlayer player)
isUseableByPlayer 在接口中 net.minecraft.inventory.IInventorypublic void openInventory(net.minecraft.entity.player.EntityPlayer player)
openInventory 在接口中 net.minecraft.inventory.IInventorypublic void closeInventory(net.minecraft.entity.player.EntityPlayer player)
closeInventory 在接口中 net.minecraft.inventory.IInventorypublic boolean isItemValidForSlot(int index,
net.minecraft.item.ItemStack stack)
isItemValidForSlot 在接口中 net.minecraft.inventory.IInventory@Deprecated public final int getField(int index)
getField 在接口中 net.minecraft.inventory.IInventory@Deprecated
public final void setField(int index,
int value)
setField 在接口中 net.minecraft.inventory.IInventory@Deprecated public final int getFieldCount()
getFieldCount 在接口中 net.minecraft.inventory.IInventorypublic void clear()
clear 在接口中 net.minecraft.inventory.IInventorypublic void readFromNBT(net.minecraft.nbt.NBTTagCompound tag)
readFromNBT 在类中 net.minecraft.tileentity.TileEntitypublic void writeToNBT(net.minecraft.nbt.NBTTagCompound tag)
writeToNBT 在类中 net.minecraft.tileentity.TileEntity