类 OutputSlot
java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraftforge.items.SlotItemHandler
committee.nova.mods.avaritia.api.common.slot.OutputSlot
public class OutputSlot
extends net.minecraftforge.items.SlotItemHandler
Description:
-
字段概要
从类继承的字段 net.minecraft.world.inventory.Slot
container, x, y -
构造器概要
构造器构造器说明OutputSlot(net.minecraftforge.items.IItemHandler itemHandler, int index, int xPosition, int yPosition) -
方法概要
从类继承的方法 net.minecraftforge.items.SlotItemHandler
getItem, getItemHandler, getMaxStackSize, getMaxStackSize, initialize, mayPickup, onQuickCraft, remove, set从类继承的方法 net.minecraft.world.inventory.Slot
allowModification, checkTakeAchievements, getContainerSlot, getNoItemIcon, getSlotIndex, hasItem, isActive, isHighlightable, isSameInventory, onQuickCraft, onSwapCraft, onTake, safeInsert, safeInsert, safeTake, setBackground, setByPlayer, setChanged, tryRemove
-
构造器详细资料
-
OutputSlot
public OutputSlot(net.minecraftforge.items.IItemHandler itemHandler, int index, int xPosition, int yPosition)
-
-
方法详细资料
-
mayPlace
public boolean mayPlace(@NotNull @NotNull net.minecraft.world.item.ItemStack stack) - 覆盖:
mayPlace在类中net.minecraftforge.items.SlotItemHandler
-