Class TerminalStorageTabIngredientComponent<T,M>
java.lang.Object
org.cyclops.integratedterminals.core.terminalstorage.TerminalStorageTabIngredientComponent<T,M>
- All Implemented Interfaces:
ITerminalStorageTab
public class TerminalStorageTabIngredientComponent<T,M>
extends Object
implements ITerminalStorageTab
Terminal storage tab for ingredient components.
-
Constructor Summary
ConstructorsConstructorDescriptionTerminalStorageTabIngredientComponent(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T, M> ingredientComponent) -
Method Summary
Modifier and TypeMethodDescriptioncreateClientTab(ContainerTerminalStorageBase container, net.minecraft.world.entity.player.Player player) createCommonTab(ContainerTerminalStorageBase container, net.minecraft.world.entity.player.Player player) createServerTab(ContainerTerminalStorageBase container, net.minecraft.world.entity.player.Player player, org.cyclops.integrateddynamics.api.network.INetwork network) net.minecraft.resources.ResourceLocationgetName()
-
Constructor Details
-
TerminalStorageTabIngredientComponent
-
-
Method Details
-
getName
public net.minecraft.resources.ResourceLocation getName()- Specified by:
getNamein interfaceITerminalStorageTab- Returns:
- The unique name of this tab.
-
createClientTab
public ITerminalStorageTabClient<?> createClientTab(ContainerTerminalStorageBase container, net.minecraft.world.entity.player.Player player) - Specified by:
createClientTabin interfaceITerminalStorageTab- Parameters:
container- The container in which the tab is about to be created.player- The player opening the container.- Returns:
- A new client-side tab.
-
createServerTab
public ITerminalStorageTabServer createServerTab(ContainerTerminalStorageBase container, net.minecraft.world.entity.player.Player player, org.cyclops.integrateddynamics.api.network.INetwork network) - Specified by:
createServerTabin interfaceITerminalStorageTab- Parameters:
container- The container in which the tab is about to be created.player- The player opening the container.network- The network of the storage terminal.- Returns:
- A new server-side tab.
-
createCommonTab
@Nullable public ITerminalStorageTabCommon createCommonTab(ContainerTerminalStorageBase container, net.minecraft.world.entity.player.Player player) - Specified by:
createCommonTabin interfaceITerminalStorageTab- Parameters:
container- The container in which the tab is about to be created.player- The player opening the container.- Returns:
- A new common tab.
-