public class TerminalStorageTabIngredientComponentItemStackCraftingCommon extends TerminalStorageTabIngredientComponentCommon<net.minecraft.item.ItemStack,java.lang.Integer>
ItemStack instances.ingredientComponent| Constructor and Description |
|---|
TerminalStorageTabIngredientComponentItemStackCraftingCommon(ContainerTerminalStorage containerTerminalStorage,
net.minecraft.util.ResourceLocation name,
org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<net.minecraft.item.ItemStack,java.lang.Integer> ingredientComponent) |
| Modifier and Type | Method and Description |
|---|---|
TerminalButtonItemStackCraftingGridAutoRefill.AutoRefillType |
getAutoRefill() |
static int |
getCraftingResultSlotIndex(net.minecraft.inventory.container.Container container,
net.minecraft.util.ResourceLocation name) |
net.minecraft.inventory.CraftingInventory |
getInventoryCrafting() |
net.minecraft.inventory.CraftResultInventory |
getInventoryCraftResult() |
net.minecraft.inventory.container.CraftingResultSlot |
getSlotCrafting() |
java.util.List<net.minecraft.inventory.container.Slot> |
loadSlots(net.minecraft.inventory.container.Container container,
int startIndex,
net.minecraft.entity.player.PlayerEntity player,
PartTypeTerminalStorage.State partState) |
void |
setAutoRefill(TerminalButtonItemStackCraftingGridAutoRefill.AutoRefillType autoRefill) |
void |
updateCraftingResult(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.inventory.container.Container container,
PartTypeTerminalStorage.State partState) |
addError, clearGlobalErrors, getGlobalErrors, getLocalErrors, getName, getVariableSlotNumberEnd, getVariableSlotNumberStart, hasErrors, onUpdate, setLocalErrorspublic TerminalStorageTabIngredientComponentItemStackCraftingCommon(ContainerTerminalStorage containerTerminalStorage, net.minecraft.util.ResourceLocation name, org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<net.minecraft.item.ItemStack,java.lang.Integer> ingredientComponent)
public static int getCraftingResultSlotIndex(net.minecraft.inventory.container.Container container,
net.minecraft.util.ResourceLocation name)
public java.util.List<net.minecraft.inventory.container.Slot> loadSlots(net.minecraft.inventory.container.Container container,
int startIndex,
net.minecraft.entity.player.PlayerEntity player,
PartTypeTerminalStorage.State partState)
loadSlots in interface ITerminalStorageTabCommonloadSlots in class TerminalStorageTabIngredientComponentCommon<net.minecraft.item.ItemStack,java.lang.Integer>public net.minecraft.inventory.CraftingInventory getInventoryCrafting()
public net.minecraft.inventory.CraftResultInventory getInventoryCraftResult()
public net.minecraft.inventory.container.CraftingResultSlot getSlotCrafting()
public TerminalButtonItemStackCraftingGridAutoRefill.AutoRefillType getAutoRefill()
public void setAutoRefill(TerminalButtonItemStackCraftingGridAutoRefill.AutoRefillType autoRefill)
public void updateCraftingResult(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.inventory.container.Container container,
PartTypeTerminalStorage.State partState)