Package net.minecraft.inventory.slot
Class CraftingResultSlot
java.lang.Object
net.minecraft.inventory.slot.Slot
net.minecraft.inventory.slot.CraftingResultSlot
public class CraftingResultSlot extends Slot
- Mappings:
Namespace Name official yfintermediary net/minecraft/class_2009named net/minecraft/inventory/slot/CraftingResultSlot
-
Field Summary
Fields Modifier and Type Field Description private intamountprivate CraftingInventorycraftingInvprivate PlayerEntityplayer -
Constructor Summary
Constructors Constructor Description CraftingResultSlot(PlayerEntity player, CraftingInventory craftingInv, Inventory inventory, int invSlot, int xPosition, int yPosition) -
Method Summary
Methods inherited from class net.minecraft.inventory.slot.Slot
canTakeItems, doDrawHoveringEffect, getMaxStackAmount, getMaxStackAmount, getStack, hasStack, markDirty, method_8155, method_8163, onStackChanged, setStack
-
Field Details
-
craftingInv
- Mappings:
Namespace Name Mixin selector official aLyf;a:Lxp;intermediary field_8522Lnet/minecraft/class_2009;field_8522:Lnet/minecraft/class_1993;named craftingInvLnet/minecraft/inventory/slot/CraftingResultSlot;craftingInv:Lnet/minecraft/inventory/CraftingInventory;
-
player
- Mappings:
Namespace Name Mixin selector official bLyf;b:Lwn;intermediary field_8523Lnet/minecraft/class_2009;field_8523:Lnet/minecraft/class_1963;named playerLnet/minecraft/inventory/slot/CraftingResultSlot;player:Lnet/minecraft/entity/player/PlayerEntity;
-
amount
private int amount- Mappings:
Namespace Name Mixin selector official cLyf;c:Iintermediary field_8524Lnet/minecraft/class_2009;field_8524:Inamed amountLnet/minecraft/inventory/slot/CraftingResultSlot;amount:I
-
-
Constructor Details
-
CraftingResultSlot
public CraftingResultSlot(PlayerEntity player, CraftingInventory craftingInv, Inventory inventory, int invSlot, int xPosition, int yPosition)- Mappings:
Namespace Name Mixin selector official <init>Lyf;<init>(Lwn;Lxp;Log;III)Vintermediary <init>Lnet/minecraft/class_2009;<init>(Lnet/minecraft/class_1963;Lnet/minecraft/class_1993;Lnet/minecraft/class_1718;III)Vnamed <init>Lnet/minecraft/inventory/slot/CraftingResultSlot;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/inventory/CraftingInventory;Lnet/minecraft/inventory/Inventory;III)V
-
-
Method Details
-
canInsert
-
takeStack
-
onCrafted
-
onCrafted
-
onTakeItem
- Overrides:
onTakeItemin classSlot- Mappings:
Namespace Name Mixin selector official aLyg;a(Lwn;Lzx;)Vintermediary method_8157Lnet/minecraft/class_2010;method_8157(Lnet/minecraft/class_1963;Lnet/minecraft/class_2056;)Vnamed onTakeItemLnet/minecraft/inventory/slot/Slot;onTakeItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
-