Annotation Interface PacketInfo


@Target(TYPE) @Retention(RUNTIME) public @interface PacketInfo
Annotation for TCGPacket packet registry data
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    net.minecraftforge.network.NetworkDirection[]
    The direction of the packet (i.e.
  • Element Details

    • value

      net.minecraftforge.network.NetworkDirection[] value
      The direction of the packet (i.e. client -> server)
      Returns:
      the direction of the packet