Package net.minecraft.screen.slot
Class TradeOutputSlot
java.lang.Object
net.minecraft.screen.slot.Slot
net.minecraft.screen.slot.TradeOutputSlot
public class TradeOutputSlot extends Slot
- Mappings:
Namespace Name official bkx
intermediary net/minecraft/class_1727
named net/minecraft/screen/slot/TradeOutputSlot
-
Field Summary
Fields Modifier and Type Field Description private int
amount
private Merchant
merchant
private MerchantInventory
merchantInventory
private PlayerEntity
player
-
Constructor Summary
Constructors Constructor Description TradeOutputSlot(PlayerEntity player, Merchant merchant, MerchantInventory merchantInventory, 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, onTake, setStack
-
Field Details
-
merchantInventory
- Mappings:
Namespace Name Mixin selector official a
Lbkx;a:Lbkv;
intermediary field_7860
Lnet/minecraft/class_1727;field_7860:Lnet/minecraft/class_1725;
named merchantInventory
Lnet/minecraft/screen/slot/TradeOutputSlot;merchantInventory:Lnet/minecraft/village/MerchantInventory;
-
player
- Mappings:
Namespace Name Mixin selector official b
Lbkx;b:Lbhl;
intermediary field_7857
Lnet/minecraft/class_1727;field_7857:Lnet/minecraft/class_1657;
named player
Lnet/minecraft/screen/slot/TradeOutputSlot;player:Lnet/minecraft/entity/player/PlayerEntity;
-
amount
private int amount- Mappings:
Namespace Name Mixin selector official g
Lbkx;g:I
intermediary field_7859
Lnet/minecraft/class_1727;field_7859:I
named amount
Lnet/minecraft/screen/slot/TradeOutputSlot;amount:I
-
merchant
- Mappings:
Namespace Name Mixin selector official h
Lbkx;h:Lbsr;
intermediary field_7858
Lnet/minecraft/class_1727;field_7858:Lnet/minecraft/class_1915;
named merchant
Lnet/minecraft/screen/slot/TradeOutputSlot;merchant:Lnet/minecraft/village/Merchant;
-
-
Constructor Details
-
TradeOutputSlot
public TradeOutputSlot(PlayerEntity player, Merchant merchant, MerchantInventory merchantInventory, int index, int x, int y)- Mappings:
Namespace Name Mixin selector official <init>
Lbkx;<init>(Lbhl;Lbsr;Lbkv;III)V
intermediary <init>
Lnet/minecraft/class_1727;<init>(Lnet/minecraft/class_1657;Lnet/minecraft/class_1915;Lnet/minecraft/class_1725;III)V
named <init>
Lnet/minecraft/screen/slot/TradeOutputSlot;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/village/Merchant;Lnet/minecraft/village/MerchantInventory;III)V
-
-
Method Details
-
canInsert
-
takeStack
-
onCrafted
-
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;
-