java.lang.Object
org.quiltmc.qsl.frozenblock.core.registry.impl.sync.server.ServerRegistrySync

@Internal public final class ServerRegistrySync extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static net.minecraft.network.chat.Component
     
    static net.minecraft.network.chat.Component
     
    static boolean
     
    static net.minecraft.network.chat.Component
     
    static it.unimi.dsi.fastutil.ints.IntList
     
    static boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    handleEnd(net.minecraft.server.MinecraftServer server, net.minecraft.server.network.ServerConfigurationPacketListenerImpl handler, net.minecraft.network.FriendlyByteBuf buf, net.fabricmc.fabric.api.networking.v1.PacketSender sender)
     
    static void
    handleHandshake(net.minecraft.server.MinecraftServer server, net.minecraft.server.network.ServerConfigurationPacketListenerImpl handler, net.minecraft.network.FriendlyByteBuf buf, net.fabricmc.fabric.api.networking.v1.PacketSender sender)
     
    static void
    handleModProtocol(net.minecraft.server.MinecraftServer server, net.minecraft.server.network.ServerConfigurationPacketListenerImpl handler, net.minecraft.network.FriendlyByteBuf buf, net.fabricmc.fabric.api.networking.v1.PacketSender sender)
     
    static boolean
     
    static void
     
    static boolean
     
    static void
    sendHelloPacket(net.fabricmc.fabric.api.networking.v1.PacketSender sender)
     
    static void
    sendModProtocol(net.fabricmc.fabric.api.networking.v1.PacketSender sender)
     
    static void
    sendSyncPackets(net.fabricmc.fabric.api.networking.v1.PacketSender sender, int syncVersion)
     
    static boolean
     
    static net.minecraft.network.chat.Component
    text(String string)
     

    Methods inherited from class java.lang.Object

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

    • noRegistrySyncMessage

      public static net.minecraft.network.chat.Component noRegistrySyncMessage
    • errorStyleHeader

      public static net.minecraft.network.chat.Component errorStyleHeader
    • errorStyleFooter

      public static net.minecraft.network.chat.Component errorStyleFooter
    • forceDisable

      public static boolean forceDisable
    • showErrorDetails

      public static boolean showErrorDetails
    • SERVER_SUPPORTED_PROTOCOL

      public static it.unimi.dsi.fastutil.ints.IntList SERVER_SUPPORTED_PROTOCOL
  • Constructor Details

    • ServerRegistrySync

      public ServerRegistrySync()
  • Method Details

    • registerHandlers

      public static void registerHandlers()
    • handleHandshake

      public static void handleHandshake(net.minecraft.server.MinecraftServer server, net.minecraft.server.network.ServerConfigurationPacketListenerImpl handler, net.minecraft.network.FriendlyByteBuf buf, net.fabricmc.fabric.api.networking.v1.PacketSender sender)
    • handleModProtocol

      public static void handleModProtocol(net.minecraft.server.MinecraftServer server, net.minecraft.server.network.ServerConfigurationPacketListenerImpl handler, net.minecraft.network.FriendlyByteBuf buf, net.fabricmc.fabric.api.networking.v1.PacketSender sender)
    • handleEnd

      public static void handleEnd(net.minecraft.server.MinecraftServer server, net.minecraft.server.network.ServerConfigurationPacketListenerImpl handler, net.minecraft.network.FriendlyByteBuf buf, net.fabricmc.fabric.api.networking.v1.PacketSender sender)
    • text

      public static net.minecraft.network.chat.Component text(String string)
    • isNamespaceVanilla

      public static boolean isNamespaceVanilla(String namespace)
    • shouldSync

      public static boolean shouldSync()
    • requiresSync

      public static boolean requiresSync()
    • sendSyncPackets

      public static void sendSyncPackets(net.fabricmc.fabric.api.networking.v1.PacketSender sender, int syncVersion)
    • sendHelloPacket

      public static void sendHelloPacket(net.fabricmc.fabric.api.networking.v1.PacketSender sender)
    • sendModProtocol

      public static void sendModProtocol(net.fabricmc.fabric.api.networking.v1.PacketSender sender)