Interface ITerminalStorageTabCommon
- All Known Implementing Classes:
TerminalStorageTabIngredientComponentCommon,TerminalStorageTabIngredientComponentItemStackCraftingCommon
public interface ITerminalStorageTabCommon
A common-side terminal storage tab for loading slots.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocationgetName()default List<net.minecraft.world.inventory.Slot>loadSlots(net.minecraft.world.inventory.AbstractContainerMenu container, int startIndex, net.minecraft.world.entity.player.Player player, Optional<ITerminalStorageTabCommon.IVariableInventory> variableInventory) default voidonUpdate(net.minecraft.world.inventory.AbstractContainerMenu container, net.minecraft.world.entity.player.Player player, Optional<ITerminalStorageTabCommon.IVariableInventory> variableInventory)
-
Method Details
-
getName
net.minecraft.resources.ResourceLocation getName()- Returns:
- The unique tab name, as inherited from
ITerminalStorageTab.getName().
-
loadSlots
default List<net.minecraft.world.inventory.Slot> loadSlots(net.minecraft.world.inventory.AbstractContainerMenu container, int startIndex, net.minecraft.world.entity.player.Player player, Optional<ITerminalStorageTabCommon.IVariableInventory> variableInventory) -
onUpdate
default void onUpdate(net.minecraft.world.inventory.AbstractContainerMenu container, net.minecraft.world.entity.player.Player player, Optional<ITerminalStorageTabCommon.IVariableInventory> variableInventory)
-