Class ClientPayloadHandler
java.lang.Object
net.neoforged.neoforge.network.handlers.ClientPayloadHandler
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Map
<ResourceLocation, RegistrySnapshot> private static final Set
<ResourceLocation> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static <T extends AbstractContainerMenu>
voidcreateMenuScreen
(Component name, MenuType<T> menuType, int windowId, RegistryFriendlyByteBuf buf) static void
handle
(AdvancedAddEntityPayload advancedAddEntityPayload, IPayloadContext context) static void
handle
(AdvancedContainerSetDataPayload msg, IPayloadContext context) static void
handle
(AdvancedOpenScreenPayload msg, IPayloadContext context) static void
handle
(AuxiliaryLightDataPayload msg, IPayloadContext context) static void
handle
(ConfigFilePayload payload, IPayloadContext context) static void
handle
(FrozenRegistryPayload payload, IPayloadContext context) static void
handle
(FrozenRegistrySyncCompletedPayload payload, IPayloadContext context) static void
handle
(FrozenRegistrySyncStartPayload payload, IPayloadContext context)
-
Field Details
-
toSynchronize
-
synchronizedRegistries
-
-
Constructor Details
-
ClientPayloadHandler
private ClientPayloadHandler()
-
-
Method Details
-
handle
-
handle
-
handle
-
handle
-
handle
public static void handle(AdvancedAddEntityPayload advancedAddEntityPayload, IPayloadContext context) -
handle
-
createMenuScreen
private static <T extends AbstractContainerMenu> void createMenuScreen(Component name, MenuType<T> menuType, int windowId, RegistryFriendlyByteBuf buf) -
handle
-
handle
-