Package | Description |
---|---|
net.minecraft.client.gui.recipebook | |
net.minecraft.client.gui.screen.inventory | |
net.minecraft.inventory.container | |
net.minecraft.item.crafting | |
net.minecraftforge.items |
Modifier and Type | Field and Description |
---|---|
private Slot |
AbstractRecipeBookGui.field_212966_k |
Modifier and Type | Method and Description |
---|---|
void |
AbstractRecipeBookGui.slotClicked(Slot slotIn) |
void |
RecipeBookGui.slotClicked(Slot slotIn) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractRecipeBookGui.setupGhostRecipe(IRecipe<?> p_193951_1_,
java.util.List<Slot> p_193951_2_) |
void |
RecipeBookGui.setupGhostRecipe(IRecipe<?> p_193951_1_,
java.util.List<Slot> p_193951_2_) |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
CreativeScreen.CreativeSlot |
(package private) static class |
CreativeScreen.LockedSlot |
Modifier and Type | Field and Description |
---|---|
private Slot |
ContainerScreen.clickedSlot |
private Slot |
ContainerScreen.currentDragTargetSlot |
private Slot |
CreativeScreen.destroyItemSlot |
protected Slot |
ContainerScreen.hoveredSlot |
private Slot |
ContainerScreen.lastClickSlot |
private Slot |
ContainerScreen.returningStackDestSlot |
private Slot |
CreativeScreen.CreativeSlot.slot |
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<Slot> |
ContainerScreen.dragSplittingSlots |
private java.util.List<Slot> |
CreativeScreen.originalSlots |
Modifier and Type | Method and Description |
---|---|
private Slot |
ContainerScreen.getSelectedSlot(double mouseX,
double mouseY) |
Slot |
ContainerScreen.getSlotUnderMouse() |
Slot |
CreativeScreen.CreativeSlot.setBackground(ResourceLocation atlas,
ResourceLocation sprite) |
Modifier and Type | Method and Description |
---|---|
boolean |
CreativeScreen.CreativeContainer.canDragIntoSlot(Slot slotIn) |
boolean |
CreativeScreen.CreativeContainer.canMergeSlot(ItemStack stack,
Slot slotIn) |
private void |
ContainerScreen.drawSlot(Slot slotIn) |
protected void |
AbstractFurnaceScreen.handleMouseClick(Slot slotIn,
int slotId,
int mouseButton,
ClickType type) |
protected void |
CreativeScreen.handleMouseClick(Slot slotIn,
int slotId,
int mouseButton,
ClickType type) |
protected void |
ContainerScreen.handleMouseClick(Slot slotIn,
int slotId,
int mouseButton,
ClickType type) |
protected void |
InventoryScreen.handleMouseClick(Slot slotIn,
int slotId,
int mouseButton,
ClickType type) |
protected void |
CraftingScreen.handleMouseClick(Slot slotIn,
int slotId,
int mouseButton,
ClickType type) |
private boolean |
CreativeScreen.hasTmpInventory(Slot slotIn) |
boolean |
CreativeScreen.CreativeSlot.isSameInventory(Slot other) |
private boolean |
ContainerScreen.isSlotSelected(Slot slotIn,
double mouseX,
double mouseY) |
Constructor and Description |
---|
CreativeSlot(Slot p_i229959_1_,
int p_i229959_2_,
int p_i229959_3_,
int p_i229959_4_) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
BeaconContainer.BeaconSlot |
(package private) static class |
BrewingStandContainer.FuelSlot |
(package private) static class |
BrewingStandContainer.IngredientSlot |
(package private) static class |
BrewingStandContainer.PotionSlot |
class |
CraftingResultSlot |
class |
FurnaceFuelSlot |
class |
FurnaceResultSlot |
class |
MerchantResultSlot |
class |
ShulkerBoxSlot |
Modifier and Type | Field and Description |
---|---|
(package private) Slot |
StonecutterContainer.inputInventorySlot |
private Slot |
LoomContainer.output |
(package private) Slot |
StonecutterContainer.outputInventorySlot |
private Slot |
BrewingStandContainer.slot |
private Slot |
LoomContainer.slotBanner |
private Slot |
LoomContainer.slotDye |
private Slot |
LoomContainer.slotPattern |
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.addSlot(Slot slotIn) |
Slot |
LoomContainer.getBannerSlot() |
Slot |
LoomContainer.getDyeSlot() |
Slot |
LoomContainer.getOutputSlot() |
Slot |
LoomContainer.getPatternSlot() |
Slot |
Container.getSlot(int slotId) |
Slot |
Slot.setBackground(ResourceLocation atlas,
ResourceLocation sprite)
Sets the background atlas and sprite location.
|
Modifier and Type | Method and Description |
---|---|
protected Slot |
Container.addSlot(Slot slotIn) |
static boolean |
Container.canAddItemToSlot(Slot slotIn,
ItemStack stack,
boolean stackSizeMatters) |
boolean |
Container.canDragIntoSlot(Slot slotIn) |
boolean |
MerchantContainer.canMergeSlot(ItemStack stack,
Slot slotIn) |
boolean |
CartographyContainer.canMergeSlot(ItemStack stack,
Slot slotIn) |
boolean |
WorkbenchContainer.canMergeSlot(ItemStack stack,
Slot slotIn) |
boolean |
StonecutterContainer.canMergeSlot(ItemStack stack,
Slot slotIn) |
boolean |
Container.canMergeSlot(ItemStack stack,
Slot slotIn) |
boolean |
PlayerContainer.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 | Method and Description |
---|---|
protected void |
ServerRecipePlacer.consumeIngredient(Slot slotToFill,
ItemStack ingredientIn) |
Modifier and Type | Class and Description |
---|---|
class |
SlotItemHandler |