Class ServerRegistrySync
java.lang.Object
org.quiltmc.qsl.frozenblock.core.registry.impl.sync.server.ServerRegistrySync
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic net.minecraft.network.chat.Componentstatic net.minecraft.network.chat.Componentstatic booleanstatic net.minecraft.network.chat.Componentstatic it.unimi.dsi.fastutil.ints.IntListstatic boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisNamespaceVanilla(String namespace) static booleanstatic voidsendHelloPacket(net.minecraft.network.Connection sender) static voidsendModProtocol(net.minecraft.network.Connection sender) static voidsendSyncPackets(net.minecraft.network.Connection sender, net.minecraft.server.level.ServerPlayer player, int syncVersion) static booleanstatic net.minecraft.network.chat.Component
-
Field Details
-
noRegistrySyncMessage
public static net.minecraft.network.chat.Component noRegistrySyncMessage -
errorStyleHeader
public static net.minecraft.network.chat.Component errorStyleHeader -
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
-
text
-
isNamespaceVanilla
-
shouldSync
public static boolean shouldSync() -
requiresSync
public static boolean requiresSync() -
sendSyncPackets
public static void sendSyncPackets(net.minecraft.network.Connection sender, net.minecraft.server.level.ServerPlayer player, int syncVersion) -
sendHelloPacket
public static void sendHelloPacket(net.minecraft.network.Connection sender) -
sendModProtocol
public static void sendModProtocol(net.minecraft.network.Connection sender)
-