Callback.Container<T>| 构造器和说明 |
|---|
ContainerBase() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
canInteractWith(net.minecraft.entity.player.EntityPlayer playerIn) |
void |
detectAndSendChanges() |
java.util.List<net.minecraft.entity.player.EntityPlayerMP> |
getPlayers() |
void |
load(java.util.Collection<GuiComponent> components) |
void |
load(int id,
net.minecraft.nbt.NBTTagCompound tag) |
ContainerBase |
load(net.minecraft.world.World world,
net.minecraftforge.common.capabilities.ICapabilityProvider provider) |
ContainerBase |
loadPlayer(net.minecraft.entity.player.EntityPlayer player) |
ContainerBase |
loadPlayer(net.minecraft.entity.player.EntityPlayer player,
int startX,
int startY) |
void |
onChange(VarSync varSync) |
void |
onCraftGuiOpened(net.minecraft.inventory.ICrafting iCrafting) |
void |
onCraftMatrixChanged(net.minecraft.inventory.IInventory inventoryIn) |
void |
onInventoryChange(net.minecraft.inventory.IInventory inventoryIn) |
addSlotToContainer, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, computeStackSize, enchantItem, extractDragMode, func_94534_d, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onContainerClosed, putStackInSlot, putStacksInSlots, removeCraftingFromCrafters, resetDrag, retrySlotClick, setCanCraft, slotClick, transferStackInSlot, updateProgressBarpublic ContainerBase load(net.minecraft.world.World world, net.minecraftforge.common.capabilities.ICapabilityProvider provider)
public ContainerBase loadPlayer(net.minecraft.entity.player.EntityPlayer player)
public ContainerBase loadPlayer(net.minecraft.entity.player.EntityPlayer player, int startX, int startY)
public java.util.List<net.minecraft.entity.player.EntityPlayerMP> getPlayers()
public void onCraftGuiOpened(net.minecraft.inventory.ICrafting iCrafting)
onCraftGuiOpened 在类中 net.minecraft.inventory.Containerpublic void detectAndSendChanges()
detectAndSendChanges 在类中 net.minecraft.inventory.Containerpublic void onCraftMatrixChanged(net.minecraft.inventory.IInventory inventoryIn)
onCraftMatrixChanged 在类中 net.minecraft.inventory.Containerpublic void onInventoryChange(net.minecraft.inventory.IInventory inventoryIn)
public boolean canInteractWith(net.minecraft.entity.player.EntityPlayer playerIn)
canInteractWith 在类中 net.minecraft.inventory.Containerpublic void load(int id,
net.minecraft.nbt.NBTTagCompound tag)
public void load(java.util.Collection<GuiComponent> components)