public class ContainerPartInterfaceCrafting extends org.cyclops.integrateddynamics.core.inventory.container.ContainerMultipart<PartTypeInterfaceCrafting,PartTypeInterfaceCrafting.State>
BUTTON_SETTINGSinventory| Constructor and Description |
|---|
ContainerPartInterfaceCrafting(int id,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.inventory.IInventory inventory,
java.util.Optional<org.cyclops.integrateddynamics.api.part.PartTarget> target,
java.util.Optional<org.cyclops.integrateddynamics.api.part.IPartContainer> partContainer,
PartTypeInterfaceCrafting partType) |
ContainerPartInterfaceCrafting(int id,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.network.PacketBuffer packetBuffer) |
| Modifier and Type | Method and Description |
|---|---|
protected net.minecraft.inventory.container.Slot |
createNewSlot(net.minecraft.inventory.IInventory inventory,
int index,
int x,
int y) |
void |
detectAndSendChanges() |
net.minecraft.util.text.ITextComponent |
getRecipeSlotUnlocalizedMessage(int slot) |
boolean |
isRecipeSlotValid(int slot) |
void |
onDirty() |
canInteractWith, getPartContainer, getPartState, getPartType, getTarget, getWorldgetContainerInventory, getSizeInventory, isAssertInventorySize, onContainerClosedaddInventory, addListener, addPlayerArmorInventory, addPlayerInventory, addSlot, adjustPhantomSlot, fillPhantomSlot, getNextValueId, getPlayerIInventory, getSlotRange, getSlotStart, getValue, getValueIds, getValueNotifiableType, initializeValues, mergeItemStack, onButtonClick, onUpdate, putButtonAction, registerSyncedVariable, resetDrag, setGuiValueListener, setSlotPosX, setSlotPosY, setValue, slotClick, transferStackInSlotareItemsAndTagsEqual, assertIntArraySize, assertInventorySize, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getType, isValidDragMode, isWithinUsableDistance, onCraftMatrixChanged, putStackInSlot, removeListener, setAll, setCanCraft, trackInt, trackIntArray, updateProgressBarpublic ContainerPartInterfaceCrafting(int id,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.network.PacketBuffer packetBuffer)
public ContainerPartInterfaceCrafting(int id,
net.minecraft.entity.player.PlayerInventory playerInventory,
net.minecraft.inventory.IInventory inventory,
java.util.Optional<org.cyclops.integrateddynamics.api.part.PartTarget> target,
java.util.Optional<org.cyclops.integrateddynamics.api.part.IPartContainer> partContainer,
PartTypeInterfaceCrafting partType)
public void detectAndSendChanges()
detectAndSendChanges in class org.cyclops.cyclopscore.inventory.container.ContainerExtendedpublic boolean isRecipeSlotValid(int slot)
@Nullable public net.minecraft.util.text.ITextComponent getRecipeSlotUnlocalizedMessage(int slot)
protected net.minecraft.inventory.container.Slot createNewSlot(net.minecraft.inventory.IInventory inventory,
int index,
int x,
int y)
createNewSlot in class org.cyclops.cyclopscore.inventory.container.ContainerExtendedpublic void onDirty()
onDirty in interface org.cyclops.cyclopscore.persist.IDirtyMarkListeneronDirty in class org.cyclops.integrateddynamics.core.inventory.container.ContainerMultipart<PartTypeInterfaceCrafting,PartTypeInterfaceCrafting.State>