Package net.minecraft.screen.slot
Class TradeOutputSlot
java.lang.Object
net.minecraft.screen.slot.Slot
net.minecraft.screen.slot.TradeOutputSlot
- Mappings:
Namespace Name named net/minecraft/screen/slot/TradeOutputSlotintermediary net/minecraft/class_1727official crf
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate final Merchantprivate final MerchantInventoryprivate final PlayerEntity -
Constructor Summary
ConstructorsConstructorDescriptionTradeOutputSlot(PlayerEntity player, Merchant merchant, MerchantInventory merchantInventory, int index, int x, int y) -
Method Summary
Methods inherited from class net.minecraft.screen.slot.Slot
canBeHighlighted, canTakeItems, canTakePartial, disablesDynamicDisplay, getBackgroundSprite, getIndex, getMaxItemCount, getMaxItemCount, getStack, hasStack, insertStack, insertStack, isEnabled, markDirty, onQuickTransfer, onTake, setStack, setStack, setStackNoCallbacks, takeStackRange, tryTakeStackRange
-
Field Details
-
merchantInventory
- Mappings:
Namespace Name Mixin selector named merchantInventoryLnet/minecraft/screen/slot/TradeOutputSlot;merchantInventory:Lnet/minecraft/village/MerchantInventory;intermediary field_7860Lnet/minecraft/class_1727;field_7860:Lnet/minecraft/class_1725;official aLcrf;a:Lcrd;
-
player
- Mappings:
Namespace Name Mixin selector named playerLnet/minecraft/screen/slot/TradeOutputSlot;player:Lnet/minecraft/entity/player/PlayerEntity;intermediary field_7857Lnet/minecraft/class_1727;field_7857:Lnet/minecraft/class_1657;official bLcrf;b:Lcmx;
-
amount
private int amount- Mappings:
Namespace Name Mixin selector named amountLnet/minecraft/screen/slot/TradeOutputSlot;amount:Iintermediary field_7859Lnet/minecraft/class_1727;field_7859:Iofficial gLcrf;g:I
-
merchant
- Mappings:
Namespace Name Mixin selector named merchantLnet/minecraft/screen/slot/TradeOutputSlot;merchant:Lnet/minecraft/village/Merchant;intermediary field_7858Lnet/minecraft/class_1727;field_7858:Lnet/minecraft/class_1915;official hLcrf;h:Ldbt;
-
-
Constructor Details
-
TradeOutputSlot
public TradeOutputSlot(PlayerEntity player, Merchant merchant, MerchantInventory merchantInventory, int index, int x, int y) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/screen/slot/TradeOutputSlot;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/village/Merchant;Lnet/minecraft/village/MerchantInventory;III)Vintermediary <init>Lnet/minecraft/class_1727;<init>(Lnet/minecraft/class_1657;Lnet/minecraft/class_1915;Lnet/minecraft/class_1725;III)Vofficial <init>Lcrf;<init>(Lcmx;Ldbt;Lcrd;III)V
-
-
Method Details
-
canInsert
-
takeStack
-
onCrafted
-
onCrafted
-
onTakeItem
- Overrides:
onTakeItemin classSlot- Mappings:
Namespace Name Mixin selector named onTakeItemLnet/minecraft/screen/slot/Slot;onTakeItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Vintermediary method_7667Lnet/minecraft/class_1735;method_7667(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Vofficial aLcrq;a(Lcmx;Lcuq;)V
-