Class PacketUtils

java.lang.Object
meteordevelopment.meteorclient.utils.network.PacketUtils

public class PacketUtils extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static @Nullable net.minecraft.network.protocol.PacketType<? extends @NotNull net.minecraft.network.protocol.Packet<?>>
    getClientboundPacket(net.minecraft.resources.Identifier id)
     
    static Set<net.minecraft.network.protocol.PacketType<? extends @NotNull net.minecraft.network.protocol.Packet<?>>>
     
    static @Nullable net.minecraft.network.protocol.PacketType<? extends @NotNull net.minecraft.network.protocol.Packet<?>>
     
    static @Nullable net.minecraft.network.protocol.PacketType<? extends @NotNull net.minecraft.network.protocol.Packet<?>>
    getPacket(net.minecraft.resources.Identifier id)
     
    static Set<net.minecraft.network.protocol.PacketType<? extends @NotNull net.minecraft.network.protocol.Packet<?>>>
     
    static @Nullable net.minecraft.network.protocol.PacketType<? extends @NotNull net.minecraft.network.protocol.Packet<?>>
    getServerboundPacket(net.minecraft.resources.Identifier id)
     
    static Set<net.minecraft.network.protocol.PacketType<? extends @NotNull net.minecraft.network.protocol.Packet<?>>>
     

    Methods inherited from class Object

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

    • getPackets

      public static Set<net.minecraft.network.protocol.PacketType<? extends @NotNull net.minecraft.network.protocol.Packet<?>>> getPackets()
    • getClientboundPackets

      public static Set<net.minecraft.network.protocol.PacketType<? extends @NotNull net.minecraft.network.protocol.Packet<?>>> getClientboundPackets()
    • getServerboundPackets

      public static Set<net.minecraft.network.protocol.PacketType<? extends @NotNull net.minecraft.network.protocol.Packet<?>>> getServerboundPackets()
    • getClientboundPacket

      @Nullable public static @Nullable net.minecraft.network.protocol.PacketType<? extends @NotNull net.minecraft.network.protocol.Packet<?>> getClientboundPacket(net.minecraft.resources.Identifier id)
    • getServerboundPacket

      @Nullable public static @Nullable net.minecraft.network.protocol.PacketType<? extends @NotNull net.minecraft.network.protocol.Packet<?>> getServerboundPacket(net.minecraft.resources.Identifier id)
    • getPacket

      @Nullable public static @Nullable net.minecraft.network.protocol.PacketType<? extends @NotNull net.minecraft.network.protocol.Packet<?>> getPacket(net.minecraft.resources.Identifier id)
    • getPacket

      @Nullable public static @Nullable net.minecraft.network.protocol.PacketType<? extends @NotNull net.minecraft.network.protocol.Packet<?>> getPacket(String name)