Package net.minecraftforge.network.tasks
Class SyncRegistriesTask
java.lang.Object
net.minecraftforge.network.tasks.SyncRegistriesTask
- All Implemented Interfaces:
ConfigurationTask
Sends the list of known channels to the client as well as their specific versions.
Allows the client to do compatibility checking.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.network.ConfigurationTask
ConfigurationTask.Type
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private ForgePacketHandler
private static final org.apache.logging.log4j.Logger
private static final org.apache.logging.log4j.Marker
private Map
<ResourceLocation, ForgeRegistry.Snapshot> private ConfigurationTaskContext
static final ConfigurationTask.Type
-
Constructor Summary
-
Method Summary
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
MARKER
private static final org.apache.logging.log4j.Marker MARKER -
TYPE
-
taskCtx
-
snapshot
-
handler
-
expectedToken
private int expectedToken
-
-
Constructor Details
-
SyncRegistriesTask
public SyncRegistriesTask()
-
-
Method Details
-
start
- Specified by:
start
in interfaceConfigurationTask
-
sendRegistries
-
start
- Specified by:
start
in interfaceConfigurationTask
-
type
- Specified by:
type
in interfaceConfigurationTask
-