Class JewelryMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
com.idark.valoria.registries.menus.JewelryMenu
public class JewelryMenu
extends net.minecraft.world.inventory.AbstractContainerMenu
-
Field Summary
Modifier and TypeFieldDescriptionfinal net.minecraft.world.entity.player.Player
final net.minecraftforge.items.IItemHandler
final net.minecraft.world.level.block.entity.BlockEntity
Fields inherited from class 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
-
Constructor Summary
ModifierConstructorDescriptionJewelryMenu
(int windowId, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.world.entity.player.Player player) protected
JewelryMenu
(net.minecraft.world.inventory.MenuType<?> pMenuType, int pContainerId, net.minecraft.world.level.block.entity.BlockEntity tileEntity, net.minecraft.world.entity.player.Player playerEntity, net.minecraftforge.items.IItemHandler playerInventory) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStack
quickMoveStack
(net.minecraft.world.entity.player.Player playerIn, int index) boolean
stillValid
(net.minecraft.world.entity.player.Player playerIn) Methods inherited from class net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, addSlot, addSlotListener, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftPlaceCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, moveItemStackTo, removed, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, slotsChanged, stillValid, suppressRemoteUpdates, transferState
-
Field Details
-
tileEntity
public final net.minecraft.world.level.block.entity.BlockEntity tileEntity -
playerEntity
public final net.minecraft.world.entity.player.Player playerEntity -
playerInventory
public final net.minecraftforge.items.IItemHandler playerInventory
-
-
Constructor Details
-
JewelryMenu
protected JewelryMenu(@Nullable net.minecraft.world.inventory.MenuType<?> pMenuType, int pContainerId, net.minecraft.world.level.block.entity.BlockEntity tileEntity, net.minecraft.world.entity.player.Player playerEntity, net.minecraftforge.items.IItemHandler playerInventory) -
JewelryMenu
public JewelryMenu(int windowId, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.world.entity.player.Player player)
-
-
Method Details
-
stillValid
public boolean stillValid(net.minecraft.world.entity.player.Player playerIn) - Specified by:
stillValid
in classnet.minecraft.world.inventory.AbstractContainerMenu
-
quickMoveStack
public net.minecraft.world.item.ItemStack quickMoveStack(net.minecraft.world.entity.player.Player playerIn, int index) - Specified by:
quickMoveStack
in classnet.minecraft.world.inventory.AbstractContainerMenu
-