Class TerminalStorageIngredientItemOpenGenericPacket

java.lang.Object
org.cyclops.cyclopscore.network.PacketBase
org.cyclops.cyclopscore.network.PacketCodec
org.cyclops.integratedterminals.network.packet.TerminalStorageIngredientItemOpenGenericPacket

public class TerminalStorageIngredientItemOpenGenericPacket extends org.cyclops.cyclopscore.network.PacketCodec
Packet for telling the server that the storage terminal gui should be opened without a specific tab.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.cyclops.cyclopscore.network.PacketCodec

    org.cyclops.cyclopscore.network.PacketCodec.ICodecAction, org.cyclops.cyclopscore.network.PacketCodec.ICodecRunnable
  • Field Summary

    Fields inherited from class org.cyclops.cyclopscore.network.PacketCodec

    fieldCache, READ_STRING_MAX_LENGTH
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    TerminalStorageIngredientItemOpenGenericPacket(org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer> location)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    actionClient(net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player player)
     
    void
    actionServer(net.minecraft.world.level.Level world, net.minecraft.server.level.ServerPlayer player)
     
    boolean
     
    static void
    openServer(net.minecraft.world.level.Level world, org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer> location, net.minecraft.server.level.ServerPlayer player)
     
    static void
    send(org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer> location)
     

    Methods inherited from class org.cyclops.cyclopscore.network.PacketCodec

    addCodedAction, decode, encode, getAction, getActionSuper, read, write

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TerminalStorageIngredientItemOpenGenericPacket

      public TerminalStorageIngredientItemOpenGenericPacket()
    • TerminalStorageIngredientItemOpenGenericPacket

      public TerminalStorageIngredientItemOpenGenericPacket(org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer> location)
  • Method Details

    • isAsync

      public boolean isAsync()
      Specified by:
      isAsync in class org.cyclops.cyclopscore.network.PacketBase
    • actionClient

      public void actionClient(net.minecraft.world.level.Level world, net.minecraft.world.entity.player.Player player)
      Specified by:
      actionClient in class org.cyclops.cyclopscore.network.PacketBase
    • actionServer

      public void actionServer(net.minecraft.world.level.Level world, net.minecraft.server.level.ServerPlayer player)
      Specified by:
      actionServer in class org.cyclops.cyclopscore.network.PacketBase
    • openServer

      public static void openServer(net.minecraft.world.level.Level world, org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer> location, net.minecraft.server.level.ServerPlayer player)
    • send

      public static void send(org.apache.commons.lang3.tuple.Pair<net.minecraft.world.InteractionHand,Integer> location)