Interface ITerminalStorageTab
- All Known Implementing Classes:
TerminalStorageTabIngredientComponent,TerminalStorageTabIngredientComponentItemStackCrafting
public interface ITerminalStorageTab
A terminal storage tab.
-
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()
-
Method Details
-
getName
net.minecraft.resources.ResourceLocation getName()- Returns:
- The unique name of this tab.
-
createClientTab
ITerminalStorageTabClient<?> createClientTab(ContainerTerminalStorageBase container, net.minecraft.world.entity.player.Player player) - 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
ITerminalStorageTabServer createServerTab(ContainerTerminalStorageBase container, net.minecraft.world.entity.player.Player player, org.cyclops.integrateddynamics.api.network.INetwork network) - 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 ITerminalStorageTabCommon createCommonTab(ContainerTerminalStorageBase container, net.minecraft.world.entity.player.Player player) - Parameters:
container- The container in which the tab is about to be created.player- The player opening the container.- Returns:
- A new common tab.
-