Package net.minecraft.screen.slot
Class CraftingResultSlot
java.lang.Object
net.minecraft.screen.slot.Slot
net.minecraft.screen.slot.CraftingResultSlot
- Mappings:
Namespace Name official ccrintermediary net/minecraft/class_1734named net/minecraft/screen/slot/CraftingResultSlot
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCraftingResultSlot(PlayerEntity player, class_8566 input, Inventory inventory, int index, int x, int y) -
Method Summary
Methods inherited from class net.minecraft.screen.slot.Slot
canTakeItems, canTakePartial, getBackgroundSprite, getIndex, getMaxItemCount, getMaxItemCount, getStack, hasStack, insertStack, insertStack, isEnabled, markDirty, method_51306, onQuickTransfer, setStack, setStackNoCallbacks, takeStackRange, tryTakeStackRange
-
Field Details
-
input
- Mappings:
Namespace Name Mixin selector official aLccr;a:Lcbr;intermediary field_7870Lnet/minecraft/class_1734;field_7870:Lnet/minecraft/class_8566;named inputLnet/minecraft/screen/slot/CraftingResultSlot;input:Lnet/minecraft/class_8566;
-
player
- Mappings:
Namespace Name Mixin selector official bLccr;b:Lbym;intermediary field_7868Lnet/minecraft/class_1734;field_7868:Lnet/minecraft/class_1657;named playerLnet/minecraft/screen/slot/CraftingResultSlot;player:Lnet/minecraft/entity/player/PlayerEntity;
-
amount
private int amount- Mappings:
Namespace Name Mixin selector official cLccr;c:Iintermediary field_7869Lnet/minecraft/class_1734;field_7869:Inamed amountLnet/minecraft/screen/slot/CraftingResultSlot;amount:I
-
-
Constructor Details
-
CraftingResultSlot
public CraftingResultSlot(PlayerEntity player, class_8566 input, Inventory inventory, int index, int x, int y) - Mappings:
Namespace Name Mixin selector official <init>Lccr;<init>(Lbym;Lcbr;Lbdp;III)Vintermediary <init>Lnet/minecraft/class_1734;<init>(Lnet/minecraft/class_1657;Lnet/minecraft/class_8566;Lnet/minecraft/class_1263;III)Vnamed <init>Lnet/minecraft/screen/slot/CraftingResultSlot;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/class_8566;Lnet/minecraft/inventory/Inventory;III)V
-
-
Method Details
-
canInsert
-
takeStack
-
onCrafted
-
onTake
protected void onTake(int amount) -
onCrafted
-
onTakeItem
- Overrides:
onTakeItemin classSlot- Mappings:
Namespace Name Mixin selector official aLccv;a(Lbym;Lcfx;)Vintermediary method_7667Lnet/minecraft/class_1735;method_7667(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Vnamed onTakeItemLnet/minecraft/screen/slot/Slot;onTakeItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
-