Package net.minecraft.world.inventory
Class MerchantResultSlot
java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraft.world.inventory.MerchantResultSlot
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Merchant
private final Player
private int
private final MerchantContainer
-
Constructor Summary
ConstructorDescriptionMerchantResultSlot
(Player p_40083_, Merchant p_40084_, MerchantContainer p_40085_, int p_40086_, int p_40087_, int p_40088_) -
Method Summary
Methods inherited from class net.minecraft.world.inventory.Slot
allowModification, getContainerSlot, getItem, getMaxStackSize, getMaxStackSize, getNoItemIcon, getSlotIndex, hasItem, initialize, isActive, isSameInventory, mayPickup, onQuickCraft, onSwapCraft, safeInsert, safeInsert, safeTake, set, setBackground, setChanged, tryRemove
-
Field Details
-
slots
-
player
-
removeCount
private int removeCount -
merchant
-
-
Constructor Details
-
MerchantResultSlot
public MerchantResultSlot(Player p_40083_, Merchant p_40084_, MerchantContainer p_40085_, int p_40086_, int p_40087_, int p_40088_)
-
-
Method Details
-
mayPlace
-
remove
-
onQuickCraft
- Overrides:
onQuickCraft
in classSlot
-
checkTakeAchievements
- Overrides:
checkTakeAchievements
in classSlot
-
onTake
-