类 TesseractMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
committee.nova.mods.avaritia.common.menu.TesseractMenu
public class TesseractMenu
extends net.minecraft.world.inventory.AbstractContainerMenu
-
字段概要
字段修饰符和类型字段说明final Channelintbooleanfinal net.minecraft.world.level.Levelbooleanbooleanfinal UUIDfinal net.minecraft.world.entity.player.Playerbytebyte从类继承的字段 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 -
构造器概要
构造器构造器说明TesseractMenu(int containerId, net.minecraft.world.entity.player.Inventory playerInv, net.minecraft.network.FriendlyByteBuf extraData) TesseractMenu(int containerId, net.minecraft.world.entity.player.Player player, TesseractTile blockEntity, int panelItemSlotIndex) -
方法概要
修饰符和类型方法说明voidbooleancanTakeItemForPickAll(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.inventory.Slot slot) voidprotected voidvoidclicked(int pSlotId, int pButton, net.minecraft.world.inventory.ClickType pClickType, net.minecraft.world.entity.player.Player pPlayer) booleanclickMenuButton(net.minecraft.world.entity.player.Player pPlayer, int pId) voidnextSort()voidonCloneFormDummySlot(String type, String id) voidonDragCloneDummySlot(String type, String id) voidonLeftClickDummySlot(String type, String id) voidonLeftDragDummySlot(String type, String id) voidonLeftShiftDummySlot(String type, String id) voidonRightClickDummySlot(String type, String id) voidonRightDragDummySlot(String type, String id) voidonRightShiftDummySlot(String type, String id) @NotNull net.minecraft.world.item.ItemStackquickMoveStack(net.minecraft.world.entity.player.Player player, int slotId) voidreceivedRecipe(String recipeId, boolean maxTransfer) voidreceivedRecipe(Map<String, Integer> itemNeed) voidremoved(net.minecraft.world.entity.player.Player player) voidvoidslotsChanged(net.minecraft.world.Container container) booleanstillValid(net.minecraft.world.entity.player.Player player) voidtryThrowOneFromDummySlot(String type, String id) voidtryThrowStickFromDummySlot(String type, String id) 从类继承的方法 net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, addSlot, addSlotListener, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, checkContainerDataCount, checkContainerSize, clearContainer, 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
-
字段详细资料
-
channel
-
owner
-
player
public final net.minecraft.world.entity.player.Player player -
level
public final net.minecraft.world.level.Level level -
dummyChannelContainer
-
tesseractTile
-
locked
public boolean locked -
channelOwner
-
channelID
public int channelID -
craftingMode
public boolean craftingMode -
filter
-
sortType
public byte sortType -
viewType
public byte viewType -
LShifting
public boolean LShifting -
craftModeSetter
-
-
构造器详细资料
-
TesseractMenu
public TesseractMenu(int containerId, net.minecraft.world.entity.player.Inventory playerInv, net.minecraft.network.FriendlyByteBuf extraData) -
TesseractMenu
public TesseractMenu(int containerId, net.minecraft.world.entity.player.Player player, TesseractTile blockEntity, int panelItemSlotIndex)
-
-
方法详细资料
-
clickMenuButton
@ParametersAreNonnullByDefault public boolean clickMenuButton(net.minecraft.world.entity.player.Player pPlayer, int pId) - 覆盖:
clickMenuButton在类中net.minecraft.world.inventory.AbstractContainerMenu
-
action
-
onLeftClickDummySlot
-
onRightClickDummySlot
-
onLeftShiftDummySlot
-
onRightShiftDummySlot
-
tryThrowOneFromDummySlot
-
tryThrowStickFromDummySlot
-
onLeftDragDummySlot
-
onRightDragDummySlot
-
onCloneFormDummySlot
-
onDragCloneDummySlot
-
clearCraftSlots
protected void clearCraftSlots() -
nextSort
public void nextSort() -
reverseSort
public void reverseSort() -
changeViewType
public void changeViewType() -
clicked
@ParametersAreNonnullByDefault public void clicked(int pSlotId, int pButton, net.minecraft.world.inventory.ClickType pClickType, net.minecraft.world.entity.player.Player pPlayer) - 覆盖:
clicked在类中net.minecraft.world.inventory.AbstractContainerMenu
-
quickMoveStack
@ParametersAreNonnullByDefault @NotNull public @NotNull net.minecraft.world.item.ItemStack quickMoveStack(net.minecraft.world.entity.player.Player player, int slotId) - 指定者:
quickMoveStack在类中net.minecraft.world.inventory.AbstractContainerMenu
-
canTakeItemForPickAll
@ParametersAreNonnullByDefault public boolean canTakeItemForPickAll(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.inventory.Slot slot) - 覆盖:
canTakeItemForPickAll在类中net.minecraft.world.inventory.AbstractContainerMenu
-
stillValid
@ParametersAreNonnullByDefault public boolean stillValid(net.minecraft.world.entity.player.Player player) - 指定者:
stillValid在类中net.minecraft.world.inventory.AbstractContainerMenu
-
removed
@ParametersAreNonnullByDefault public void removed(net.minecraft.world.entity.player.Player player) - 覆盖:
removed在类中net.minecraft.world.inventory.AbstractContainerMenu
-
slotsChanged
@ParametersAreNonnullByDefault public void slotsChanged(net.minecraft.world.Container container) - 覆盖:
slotsChanged在类中net.minecraft.world.inventory.AbstractContainerMenu
-
receivedRecipe
-
receivedRecipe
-