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
-
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
-
player
-
amount
private int amount -
merchant
-
-
Constructor Details
-
TradeOutputSlot
public TradeOutputSlot(PlayerEntity player, Merchant merchant, MerchantInventory merchantInventory, int index, int x, int y)
-
-
Method Details