类 MerchantResultSlot
java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraft.world.inventory.MerchantResultSlot
-
字段概要
字段修饰符和类型字段说明private final Merchant
private final Player
private int
private final MerchantContainer
-
构造器概要
构造器构造器说明MerchantResultSlot
(Player p_40083_, Merchant p_40084_, MerchantContainer p_40085_, int p_40086_, int p_40087_, int p_40088_) -
方法概要
从类继承的方法 net.minecraft.world.inventory.Slot
allowModification, getContainerSlot, getItem, getMaxStackSize, getMaxStackSize, getNoItemIcon, getSlotIndex, hasItem, isActive, isFake, isHighlightable, isSameInventory, mayPickup, onQuickCraft, onSwapCraft, safeInsert, safeInsert, safeTake, set, setBackground, setByPlayer, setByPlayer, setChanged, tryRemove
-
字段详细资料
-
slots
-
player
-
removeCount
private int removeCount -
merchant
-
-
构造器详细资料
-
MerchantResultSlot
public MerchantResultSlot(Player p_40083_, Merchant p_40084_, MerchantContainer p_40085_, int p_40086_, int p_40087_, int p_40088_)
-
-
方法详细资料
-
mayPlace
-
remove
-
onQuickCraft
- 覆盖:
onQuickCraft
在类中Slot
-
checkTakeAchievements
- 覆盖:
checkTakeAchievements
在类中Slot
-
onTake
-