Package net.minecraft.screen.slot
Class CraftingResultSlot
java.lang.Object
net.minecraft.screen.slot.Slot
net.minecraft.screen.slot.CraftingResultSlot
public class CraftingResultSlot extends Slot
- Mappings:
Namespace Name official bld
intermediary net/minecraft/class_1734
named net/minecraft/screen/slot/CraftingResultSlot
-
Field Summary
Fields Modifier and Type Field Description private int
amount
private CraftingInventory
input
private PlayerEntity
player
-
Constructor Summary
Constructors Constructor Description CraftingResultSlot(PlayerEntity player, CraftingInventory input, Inventory inventory, int index, int x, int y)
-
Method Summary
Methods inherited from class net.minecraft.screen.slot.Slot
canTakeItems, doDrawHoveringEffect, getBackgroundSprite, getMaxItemCount, getMaxItemCount, getStack, hasStack, markDirty, method_32753, method_32754, method_32755, method_32756, onStackChanged, setStack
-
Field Details
-
input
- Mappings:
Namespace Name Mixin selector official a
Lbld;a:Lbke;
intermediary field_7870
Lnet/minecraft/class_1734;field_7870:Lnet/minecraft/class_1715;
named input
Lnet/minecraft/screen/slot/CraftingResultSlot;input:Lnet/minecraft/inventory/CraftingInventory;
-
player
- Mappings:
Namespace Name Mixin selector official b
Lbld;b:Lbhl;
intermediary field_7868
Lnet/minecraft/class_1734;field_7868:Lnet/minecraft/class_1657;
named player
Lnet/minecraft/screen/slot/CraftingResultSlot;player:Lnet/minecraft/entity/player/PlayerEntity;
-
amount
private int amount- Mappings:
Namespace Name Mixin selector official g
Lbld;g:I
intermediary field_7869
Lnet/minecraft/class_1734;field_7869:I
named amount
Lnet/minecraft/screen/slot/CraftingResultSlot;amount:I
-
-
Constructor Details
-
CraftingResultSlot
public CraftingResultSlot(PlayerEntity player, CraftingInventory input, Inventory inventory, int index, int x, int y)- Mappings:
Namespace Name Mixin selector official <init>
Lbld;<init>(Lbhl;Lbke;Lapj;III)V
intermediary <init>
Lnet/minecraft/class_1734;<init>(Lnet/minecraft/class_1657;Lnet/minecraft/class_1715;Lnet/minecraft/class_1263;III)V
named <init>
Lnet/minecraft/screen/slot/CraftingResultSlot;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/inventory/CraftingInventory;Lnet/minecraft/inventory/Inventory;III)V
-
-
Method Details
-
canInsert
-
takeStack
-
onCrafted
-
onTake
protected void onTake(int amount) -
onCrafted
-
onTakeItem
- Overrides:
onTakeItem
in classSlot
- Mappings:
Namespace Name Mixin selector official a
Lblh;a(Lbhl;Lbnv;)Lbnv;
intermediary method_7667
Lnet/minecraft/class_1735;method_7667(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
named onTakeItem
Lnet/minecraft/screen/slot/Slot;onTakeItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
-