类 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 pPlayer, Merchant pMerchant, MerchantContainer pSlots, int pSlot, int pXPosition, int pYPosition) -
方法概要
从类继承的方法 net.minecraft.world.inventory.Slot
allowModification, getContainerSlot, getItem, getMaxStackSize, getMaxStackSize, getNoItemIcon, getSlotIndex, hasItem, isActive, isHighlightable, isSameInventory, mayPickup, onQuickCraft, onSwapCraft, safeInsert, safeInsert, safeTake, set, setBackground, setByPlayer, setChanged, tryRemove
-
字段详细资料
-
slots
-
player
-
removeCount
private int removeCount -
merchant
-
-
构造器详细资料
-
MerchantResultSlot
public MerchantResultSlot(Player pPlayer, Merchant pMerchant, MerchantContainer pSlots, int pSlot, int pXPosition, int pYPosition)
-
-
方法详细资料
-
mayPlace
-
remove
-
onQuickCraft
- 覆盖:
onQuickCraft
在类中Slot
-
checkTakeAchievements
- 覆盖:
checkTakeAchievements
在类中Slot
-
onTake
-