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 Merchant
private Player
private int
private 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, 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
-