Class ChiselContainer
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
com.supermartijn642.core.gui.BaseContainer
com.supermartijn642.rechiseled.screen.BaseChiselingContainer
com.supermartijn642.rechiseled.screen.ChiselContainer
Created 25/12/2021 by SuperMartijn642
-
Field Summary
FieldsFields inherited from class com.supermartijn642.rechiseled.screen.BaseChiselingContainer
connecting, currentEntry, currentRecipeFields inherited from class com.supermartijn642.core.gui.BaseContainer
level, playerFields 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
ConstructorsConstructorDescriptionChiselContainer(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStackvoidsetCurrentStack(net.minecraft.world.item.ItemStack stack) booleanMethods inherited from class com.supermartijn642.rechiseled.screen.BaseChiselingContainer
addSlots, chiselAll, moveItemStackTo, quickMoveStack, setCurrentEntry, stillValid, toggleConnecting, updateRecipeMethods inherited from class com.supermartijn642.core.gui.BaseContainer
addPlayerSlots, addSlots, getContainerType, setContainerIdMethods 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, removed, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, slotsChanged, stillValid, suppressRemoteUpdates, transferState
-
Field Details
-
hand
public final net.minecraft.world.InteractionHand hand
-
-
Constructor Details
-
ChiselContainer
public ChiselContainer(net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand)
-
-
Method Details
-
getCurrentStack
public net.minecraft.world.item.ItemStack getCurrentStack()- Specified by:
getCurrentStackin classBaseChiselingContainer
-
setCurrentStack
public void setCurrentStack(net.minecraft.world.item.ItemStack stack) - Specified by:
setCurrentStackin classBaseChiselingContainer
-
shouldBeClosed
public boolean shouldBeClosed()- Specified by:
shouldBeClosedin classBaseChiselingContainer
-