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.EntityPlayer player) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSlots(net.minecraft.entity.player.EntityPlayer playerEntity) |
boolean |
canInteractWith(net.minecraft.entity.player.EntityPlayer playerIn) |
void |
chiselAll() |
abstract net.minecraft.item.ItemStack |
getCurrentStack() |
protected boolean |
moveItemStackTo(net.minecraft.item.ItemStack stack,
int minSlot,
int maxSlot,
boolean reversed) |
void |
setCurrentEntry(int index) |
abstract void |
setCurrentStack(net.minecraft.item.ItemStack stack) |
abstract boolean |
shouldBeClosed() |
void |
toggleConnecting() |
net.minecraft.item.ItemStack |
transferStackInSlot(net.minecraft.entity.player.EntityPlayer player,
int index) |
protected void |
updateRecipe() |
addPlayerSlots, addSlot, addSlots, getContainerTypeaddListener, addSlotToContainer, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotChangedCraftingGrid, slotClick, updateProgressBarpublic ChiselingRecipe currentRecipe
public ChiselingEntry currentEntry
public boolean connecting
public BaseChiselingContainer(com.supermartijn642.core.gui.BaseContainerType<?> type,
net.minecraft.entity.player.EntityPlayer player)
protected void addSlots(net.minecraft.entity.player.EntityPlayer playerEntity)
addSlots in class com.supermartijn642.core.gui.BaseContainerpublic boolean canInteractWith(net.minecraft.entity.player.EntityPlayer playerIn)
canInteractWith 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 transferStackInSlot(net.minecraft.entity.player.EntityPlayer player,
int index)
transferStackInSlot in class net.minecraft.inventory.Containerprotected boolean moveItemStackTo(net.minecraft.item.ItemStack stack,
int minSlot,
int maxSlot,
boolean reversed)