Package | Description |
---|---|
net.minecraft.client.gui.inventory | |
net.minecraft.client.gui.recipebook | |
net.minecraft.inventory | |
net.minecraft.util | |
net.minecraftforge.items |
Modifier and Type | Class and Description |
---|---|
(package private) class |
GuiContainerCreative.CreativeSlot |
(package private) static class |
GuiContainerCreative.LockedSlot |
Modifier and Type | Field and Description |
---|---|
private Slot |
GuiContainer.clickedSlot |
private Slot |
GuiContainer.currentDragTargetSlot |
private Slot |
GuiContainerCreative.destroyItemSlot |
private Slot |
GuiContainer.hoveredSlot |
private Slot |
GuiContainer.lastClickSlot |
private Slot |
GuiContainer.returningStackDestSlot |
private Slot |
GuiContainerCreative.CreativeSlot.slot |
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<Slot> |
GuiContainer.dragSplittingSlots |
private java.util.List<Slot> |
GuiContainerCreative.originalSlots |
Modifier and Type | Method and Description |
---|---|
private Slot |
GuiContainer.getSlotAtPosition(int x,
int y) |
Slot |
GuiContainer.getSlotUnderMouse()
Returns the slot that is currently displayed under the mouse.
|
Modifier and Type | Method and Description |
---|---|
boolean |
GuiContainerCreative.ContainerCreative.canDragIntoSlot(Slot slotIn) |
boolean |
GuiContainerCreative.ContainerCreative.canMergeSlot(ItemStack stack,
Slot slotIn) |
private void |
GuiContainer.drawSlot(Slot slotIn) |
protected void |
GuiCrafting.handleMouseClick(Slot slotIn,
int slotId,
int mouseButton,
ClickType type) |
protected void |
GuiInventory.handleMouseClick(Slot slotIn,
int slotId,
int mouseButton,
ClickType type) |
protected void |
GuiContainerCreative.handleMouseClick(Slot slotIn,
int slotId,
int mouseButton,
ClickType type) |
protected void |
GuiContainer.handleMouseClick(Slot slotIn,
int slotId,
int mouseButton,
ClickType type) |
private boolean |
GuiContainer.isMouseOverSlot(Slot slotIn,
int mouseX,
int mouseY) |
boolean |
GuiContainerCreative.CreativeSlot.isSameInventory(Slot other) |
Constructor and Description |
---|
CreativeSlot(Slot p_i46313_2_,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
GuiRecipeBook.slotClicked(Slot slotIn) |
Modifier and Type | Method and Description |
---|---|
void |
GuiRecipeBook.setupGhostRecipe(IRecipe p_193951_1_,
java.util.List<Slot> p_193951_2_) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
ContainerBeacon.BeaconSlot |
(package private) static class |
ContainerBrewingStand.Fuel |
(package private) static class |
ContainerBrewingStand.Ingredient |
(package private) static class |
ContainerBrewingStand.Potion |
class |
SlotCrafting |
class |
SlotFurnaceFuel |
class |
SlotFurnaceOutput |
class |
SlotMerchantResult |
class |
SlotShulkerBox |
Modifier and Type | Field and Description |
---|---|
private Slot |
ContainerBrewingStand.slot |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<Slot> |
Container.dragSlots |
java.util.List<Slot> |
Container.inventorySlots |
Modifier and Type | Method and Description |
---|---|
protected Slot |
Container.addSlotToContainer(Slot slotIn) |
Slot |
Container.getSlot(int slotId) |
Slot |
Container.getSlotFromInventory(IInventory inv,
int slotIn) |
Modifier and Type | Method and Description |
---|---|
protected Slot |
Container.addSlotToContainer(Slot slotIn) |
static boolean |
Container.canAddItemToSlot(Slot slotIn,
ItemStack stack,
boolean stackSizeMatters) |
boolean |
Container.canDragIntoSlot(Slot slotIn) |
boolean |
Container.canMergeSlot(ItemStack stack,
Slot slotIn) |
boolean |
ContainerWorkbench.canMergeSlot(ItemStack stack,
Slot slotIn) |
boolean |
ContainerPlayer.canMergeSlot(ItemStack stack,
Slot slotIn) |
boolean |
Slot.isSameInventory(Slot other)
Checks if the other slot is in the same inventory, by comparing the inventory reference.
|
Modifier and Type | Method and Description |
---|---|
static void |
Container.computeStackSize(java.util.Set<Slot> dragSlotsIn,
int dragModeIn,
ItemStack stack,
int slotStackSize) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Slot> |
ServerRecipeBookHelper.field_194337_h |
Modifier and Type | Method and Description |
---|---|
private void |
ServerRecipeBookHelper.func_194325_a(Slot p_194325_1_,
ItemStack p_194325_2_) |
Modifier and Type | Class and Description |
---|---|
class |
SlotItemHandler |
Modifier and Type | Method and Description |
---|---|
boolean |
SlotItemHandler.isSameInventory(Slot other) |