Class MerchantResultSlot
java.lang.Object
net.minecraft.inventory.container.Slot
net.minecraft.inventory.container.MerchantResultSlot
-
Field Summary
Modifier and TypeFieldDescriptionprivate final IMerchant
private final PlayerEntity
private int
private final MerchantInventory
-
Constructor Summary
ConstructorDescriptionMerchantResultSlot
(PlayerEntity p_i1822_1_, IMerchant p_i1822_2_, MerchantInventory p_i1822_3_, int p_i1822_4_, int p_i1822_5_, int p_i1822_6_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkTakeAchievements
(ItemStack p_75208_1_) boolean
protected void
onQuickCraft
(ItemStack p_75210_1_, int p_75210_2_) onTake
(PlayerEntity p_190901_1_, ItemStack p_190901_2_) remove
(int p_75209_1_) Methods inherited from class net.minecraft.inventory.container.Slot
getItem, getMaxStackSize, getMaxStackSize, getNoItemIcon, getSlotIndex, hasItem, isActive, isSameInventory, mayPickup, onQuickCraft, onSwapCraft, set, setBackground, setChanged
-
Field Details
-
slots
-
player
-
removeCount
private int removeCount -
merchant
-
-
Constructor Details
-
MerchantResultSlot
public MerchantResultSlot(PlayerEntity p_i1822_1_, IMerchant p_i1822_2_, MerchantInventory p_i1822_3_, int p_i1822_4_, int p_i1822_5_, int p_i1822_6_)
-
-
Method Details
-
mayPlace
-
remove
-
onQuickCraft
- Overrides:
onQuickCraft
in classSlot
-
checkTakeAchievements
- Overrides:
checkTakeAchievements
in classSlot
-
onTake
-