public abstract class BaseChiselingContainer
extends com.supermartijn642.core.gui.BaseContainer
| Modifier and Type | Field and Description |
|---|---|
boolean |
connecting |
ChiselingEntry |
currentEntry |
ChiselingRecipe |
currentRecipe |
| Constructor and Description |
|---|
BaseChiselingContainer(com.supermartijn642.core.gui.BaseContainerType<?> type,
net.minecraft.entity.player.PlayerEntity player) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSlots(net.minecraft.entity.player.PlayerEntity playerEntity) |
void |
chiselAll() |
abstract net.minecraft.item.ItemStack |
getCurrentStack() |
protected boolean |
moveItemStackTo(net.minecraft.item.ItemStack stack,
int minSlot,
int maxSlot,
boolean reversed) |
net.minecraft.item.ItemStack |
quickMoveStack(net.minecraft.entity.player.PlayerEntity player,
int index) |
void |
setCurrentEntry(int index) |
abstract void |
setCurrentStack(net.minecraft.item.ItemStack stack) |
abstract boolean |
shouldBeClosed() |
boolean |
stillValid(net.minecraft.entity.player.PlayerEntity playerIn) |
void |
toggleConnecting() |
protected void |
updateRecipe() |
addPlayerSlots, addSlots, getContainerType, setContainerIdaddDataSlot, addDataSlots, addSlot, addSlotListener, backup, broadcastChanges, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, consideredTheSameItem, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftSlotCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getType, isSynched, isValidQuickcraftType, removed, removeSlotListener, resetQuickCraft, setAll, setData, setItem, setSynched, slotsChanged, stillValidpublic ChiselingRecipe currentRecipe
public ChiselingEntry currentEntry
public boolean connecting
public BaseChiselingContainer(com.supermartijn642.core.gui.BaseContainerType<?> type,
net.minecraft.entity.player.PlayerEntity player)
protected void addSlots(net.minecraft.entity.player.PlayerEntity playerEntity)
addSlots in class com.supermartijn642.core.gui.BaseContainerpublic boolean stillValid(net.minecraft.entity.player.PlayerEntity playerIn)
stillValid in class com.supermartijn642.core.gui.BaseContainerprotected void updateRecipe()
public void setCurrentEntry(int index)
public void toggleConnecting()
public void chiselAll()
public abstract net.minecraft.item.ItemStack getCurrentStack()
public abstract void setCurrentStack(net.minecraft.item.ItemStack stack)
public abstract boolean shouldBeClosed()
public net.minecraft.item.ItemStack quickMoveStack(net.minecraft.entity.player.PlayerEntity player,
int index)
quickMoveStack in class net.minecraft.inventory.container.Containerprotected boolean moveItemStackTo(net.minecraft.item.ItemStack stack,
int minSlot,
int maxSlot,
boolean reversed)
moveItemStackTo in class net.minecraft.inventory.container.Container