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 interfacestatic interfacestatic final record -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocationgetName()default List<org.apache.commons.lang3.tuple.Pair<net.minecraft.world.inventory.Slot,ITerminalStorageTabCommon.ISlotPositionCallback>> loadSlots(net.minecraft.world.inventory.AbstractContainerMenu container, int startIndex, net.minecraft.world.entity.player.Player player, Optional<ITerminalStorageTabCommon.IVariableInventory> variableInventory, org.cyclops.integrateddynamics.api.evaluate.variable.ValueDeseralizationContext valueDeseralizationContext) 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<org.apache.commons.lang3.tuple.Pair<net.minecraft.world.inventory.Slot,ITerminalStorageTabCommon.ISlotPositionCallback>> loadSlots(net.minecraft.world.inventory.AbstractContainerMenu container, int startIndex, net.minecraft.world.entity.player.Player player, Optional<ITerminalStorageTabCommon.IVariableInventory> variableInventory, org.cyclops.integrateddynamics.api.evaluate.variable.ValueDeseralizationContext valueDeseralizationContext) -
onUpdate
default void onUpdate(net.minecraft.world.inventory.AbstractContainerMenu container, net.minecraft.world.entity.player.Player player, Optional<ITerminalStorageTabCommon.IVariableInventory> variableInventory)
-