net.minecraft.world.inventory

public class MerchantResultSlot

extends Slot

bnr
net.minecraft.world.inventory.MerchantResultSlot
net.minecraft.class_1727
net.minecraft.screen.slot.TradeOutputSlot
net.minecraft.src.C_1295_
net.minecraft.world.inventory.SlotMerchantResult

Field summary

Modifier and TypeField
private final MerchantContainer
a
slots
field_7860
merchantInventory
f_40078_
private final Player
b
player
field_7857
player
f_40079_
private int
g
removeCount
field_7859
amount
f_40080_
private final Merchant
h
merchant
field_7858
merchant
f_40081_

Constructor summary

ModifierConstructor
public (Player player, Merchant merchant, MerchantContainer merchantInventory, int index, int x, int y)

Method summary

Modifier and TypeMethod
public boolean
a(bqq arg0)
mayPlace(ItemStack arg0)
method_7680(class_1799 arg0)
canInsert(ItemStack arg0)
m_5857_(C_1391_ arg0)
isAllowed(ItemStack arg0)
public ItemStack
a(int arg0)
remove(int arg0)
method_7671(int arg0)
takeStack(int arg0)
m_6201_(int arg0)
protected void
a(bqq arg0, int arg1)
onQuickCraft(ItemStack arg0, int arg1)
method_7678(class_1799 arg0, int arg1)
onCrafted(ItemStack arg0, int arg1)
m_7169_(C_1391_ p_40098_, int arg1)
protected void
b_(bqq arg0)
checkTakeAchievements(ItemStack arg0)
method_7669(class_1799 arg0)
onCrafted(ItemStack arg0)
m_5845_(C_1391_ arg0)
public void
a(bke arg0, bqq arg1)
onTake(Player arg0, ItemStack arg1)
method_7667(class_1657 arg0, class_1799 arg1)
onTakeItem(PlayerEntity arg0, ItemStack arg1)
m_142406_(C_1141_ p_150632_, C_1391_ arg1)