Class TerminalStorageTabIngredientComponentItemStackCraftingServer
java.lang.Object
org.cyclops.integratedterminals.core.terminalstorage.TerminalStorageTabIngredientComponentServer<net.minecraft.world.item.ItemStack,Integer>
org.cyclops.integratedterminals.core.terminalstorage.TerminalStorageTabIngredientComponentItemStackCraftingServer
- All Implemented Interfaces:
org.cyclops.integrateddynamics.api.ingredient.IIngredientComponentStorageObservable.IIndexChangeObserver<net.minecraft.world.item.ItemStack,,Integer> ITerminalStorageTabServer
public class TerminalStorageTabIngredientComponentItemStackCraftingServer
extends TerminalStorageTabIngredientComponentServer<net.minecraft.world.item.ItemStack,Integer>
A server-side storage terminal ingredient tab for crafting with
ItemStack instances.-
Constructor Summary
ConstructorsConstructorDescriptionTerminalStorageTabIngredientComponentItemStackCraftingServer(net.minecraft.resources.ResourceLocation name, org.cyclops.integrateddynamics.api.network.INetwork network, org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<net.minecraft.world.item.ItemStack, Integer> ingredientComponent, org.cyclops.integrateddynamics.api.network.IPositionedAddonsNetworkIngredients<net.minecraft.world.item.ItemStack, Integer> ingredientNetwork, net.minecraft.server.level.ServerPlayer player) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeInit()Deinitialize the tab when the container is closed.voidinit()Initializes the tab when the container was opened.protected voidinitChannel(int channel) Methods inherited from class org.cyclops.integratedterminals.core.terminalstorage.TerminalStorageTabIngredientComponentServer
getFilteredDiffManager, getIngredientNetwork, getIngredientsFilter, getName, getNetwork, getUnfilteredIngredientsView, handleStorageSlotClick, onChange, reApplyFilter, sendToClient, updateActive, updateFilter
-
Constructor Details
-
TerminalStorageTabIngredientComponentItemStackCraftingServer
public TerminalStorageTabIngredientComponentItemStackCraftingServer(net.minecraft.resources.ResourceLocation name, org.cyclops.integrateddynamics.api.network.INetwork network, org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<net.minecraft.world.item.ItemStack, Integer> ingredientComponent, org.cyclops.integrateddynamics.api.network.IPositionedAddonsNetworkIngredients<net.minecraft.world.item.ItemStack, Integer> ingredientNetwork, net.minecraft.server.level.ServerPlayer player)
-
-
Method Details
-
init
public void init()Description copied from interface:ITerminalStorageTabServerInitializes the tab when the container was opened.- Specified by:
initin interfaceITerminalStorageTabServer- Overrides:
initin classTerminalStorageTabIngredientComponentServer<net.minecraft.world.item.ItemStack,Integer>
-
initChannel
protected void initChannel(int channel) - Overrides:
initChannelin classTerminalStorageTabIngredientComponentServer<net.minecraft.world.item.ItemStack,Integer>
-
deInit
public void deInit()Description copied from interface:ITerminalStorageTabServerDeinitialize the tab when the container is closed.- Specified by:
deInitin interfaceITerminalStorageTabServer- Overrides:
deInitin classTerminalStorageTabIngredientComponentServer<net.minecraft.world.item.ItemStack,Integer>
-