Class TerminalStorageLocationItem

java.lang.Object
org.cyclops.integratedterminals.core.terminalstorage.location.TerminalStorageLocationItem
All Implemented Interfaces:
ITerminalStorageLocation<org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>>

public class TerminalStorageLocationItem extends Object implements ITerminalStorageLocation<org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>>
  • Constructor Details

    • TerminalStorageLocationItem

      public TerminalStorageLocationItem()
  • Method Details

    • getName

      public net.minecraft.resources.ResourceLocation getName()
      Specified by:
      getName in interface ITerminalStorageLocation<org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>>
    • openContainerFromClient

      public <T, M> void openContainerFromClient(CraftingOptionGuiData<T,M,org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>> craftingOptionGuiData)
      Specified by:
      openContainerFromClient in interface ITerminalStorageLocation<org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>>
    • openContainerFromServer

      public <T, M> void openContainerFromServer(CraftingOptionGuiData<T,M,org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>> craftingOptionGuiData, net.minecraft.world.level.Level world, net.minecraft.server.level.ServerPlayer player)
      Specified by:
      openContainerFromServer in interface ITerminalStorageLocation<org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>>
    • openContainerCraftingPlan

      public <T, M> void openContainerCraftingPlan(CraftingOptionGuiData<T,M,org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>> craftingOptionGuiData, net.minecraft.world.level.Level world, net.minecraft.server.level.ServerPlayer player)
      Specified by:
      openContainerCraftingPlan in interface ITerminalStorageLocation<org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>>
    • openContainerCraftingOptionAmount

      public <T, M> void openContainerCraftingOptionAmount(CraftingOptionGuiData<T,M,org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>> craftingOptionGuiData, net.minecraft.world.level.Level world, net.minecraft.server.level.ServerPlayer player)
      Specified by:
      openContainerCraftingOptionAmount in interface ITerminalStorageLocation<org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>>
    • writeToPacketBuffer

      public void writeToPacketBuffer(net.minecraft.network.FriendlyByteBuf packetBuffer, org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer> location)
      Specified by:
      writeToPacketBuffer in interface ITerminalStorageLocation<org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>>
    • readFromPacketBuffer

      public org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer> readFromPacketBuffer(net.minecraft.network.FriendlyByteBuf packetBuffer)
      Specified by:
      readFromPacketBuffer in interface ITerminalStorageLocation<org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer>>