类 ExtremeSmithingMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.ItemCombinerMenu
committee.nova.mods.avaritia.common.menu.ExtremeSmithingMenu
public class ExtremeSmithingMenu
extends net.minecraft.world.inventory.ItemCombinerMenu
-
字段概要
从类继承的字段 net.minecraft.world.inventory.ItemCombinerMenu
access, inputSlots, player, resultSlots从类继承的字段 net.minecraft.world.inventory.AbstractContainerMenu
CARRIED_SLOT_SIZE, containerId, QUICKCRAFT_HEADER_CONTINUE, QUICKCRAFT_HEADER_END, QUICKCRAFT_HEADER_START, QUICKCRAFT_TYPE_CHARITABLE, QUICKCRAFT_TYPE_CLONE, QUICKCRAFT_TYPE_GREEDY, SLOT_CLICKED_OUTSIDE, slots -
构造器概要
构造器构造器说明ExtremeSmithingMenu(int id, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.FriendlyByteBuf buffer) ExtremeSmithingMenu(int pContainerId, net.minecraft.world.entity.player.Inventory pPlayerInventory, net.minecraft.world.inventory.ContainerLevelAccess access) -
方法概要
修饰符和类型方法说明booleancanMoveIntoInputSlots(@NotNull net.minecraft.world.item.ItemStack pStack) booleancanTakeItemForPickAll(@NotNull net.minecraft.world.item.ItemStack pStack, net.minecraft.world.inventory.Slot pSlot) protected @NotNull net.minecraft.world.inventory.ItemCombinerMenuSlotDefinitionvoidintgetSlotToQuickMoveTo(@NotNull net.minecraft.world.item.ItemStack pStack) protected booleanisValidBlock(@NotNull net.minecraft.world.level.block.state.BlockState pState) protected booleanmayPickup(@NotNull net.minecraft.world.entity.player.Player pPlayer, boolean pHasStack) protected voidonTake(@NotNull net.minecraft.world.entity.player.Player pPlayer, @NotNull net.minecraft.world.item.ItemStack pStack) booleanstillValid(@NotNull net.minecraft.world.entity.player.Player pPlayer) 从类继承的方法 net.minecraft.world.inventory.ItemCombinerMenu
getResultSlot, quickMoveStack, removed, slotsChanged从类继承的方法 net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, addSlot, addSlotListener, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftPlaceCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, moveItemStackTo, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, stillValid, suppressRemoteUpdates, transferState
-
构造器详细资料
-
ExtremeSmithingMenu
public ExtremeSmithingMenu(int id, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.FriendlyByteBuf buffer) -
ExtremeSmithingMenu
public ExtremeSmithingMenu(int pContainerId, net.minecraft.world.entity.player.Inventory pPlayerInventory, net.minecraft.world.inventory.ContainerLevelAccess access)
-
-
方法详细资料
-
mayPickup
protected boolean mayPickup(@NotNull @NotNull net.minecraft.world.entity.player.Player pPlayer, boolean pHasStack) - 指定者:
mayPickup在类中net.minecraft.world.inventory.ItemCombinerMenu
-
onTake
protected void onTake(@NotNull @NotNull net.minecraft.world.entity.player.Player pPlayer, @NotNull @NotNull net.minecraft.world.item.ItemStack pStack) - 指定者:
onTake在类中net.minecraft.world.inventory.ItemCombinerMenu
-
isValidBlock
protected boolean isValidBlock(@NotNull @NotNull net.minecraft.world.level.block.state.BlockState pState) - 指定者:
isValidBlock在类中net.minecraft.world.inventory.ItemCombinerMenu
-
stillValid
public boolean stillValid(@NotNull @NotNull net.minecraft.world.entity.player.Player pPlayer) - 覆盖:
stillValid在类中net.minecraft.world.inventory.ItemCombinerMenu
-
createResult
public void createResult()- 指定者:
createResult在类中net.minecraft.world.inventory.ItemCombinerMenu
-
createInputSlotDefinitions
@NotNull protected @NotNull net.minecraft.world.inventory.ItemCombinerMenuSlotDefinition createInputSlotDefinitions()- 指定者:
createInputSlotDefinitions在类中net.minecraft.world.inventory.ItemCombinerMenu
-
getSlotToQuickMoveTo
public int getSlotToQuickMoveTo(@NotNull @NotNull net.minecraft.world.item.ItemStack pStack) - 覆盖:
getSlotToQuickMoveTo在类中net.minecraft.world.inventory.ItemCombinerMenu
-
canTakeItemForPickAll
public boolean canTakeItemForPickAll(@NotNull @NotNull net.minecraft.world.item.ItemStack pStack, net.minecraft.world.inventory.Slot pSlot) - 覆盖:
canTakeItemForPickAll在类中net.minecraft.world.inventory.AbstractContainerMenu
-
canMoveIntoInputSlots
public boolean canMoveIntoInputSlots(@NotNull @NotNull net.minecraft.world.item.ItemStack pStack) - 覆盖:
canMoveIntoInputSlots在类中net.minecraft.world.inventory.ItemCombinerMenu
-