Uses of Class
net.neoforged.neoforge.registries.RegistrySnapshot
Package
Description
-
Uses of RegistrySnapshot in net.neoforged.neoforge.network.handlers
Modifier and TypeFieldDescriptionprivate static final Map
<ResourceLocation, RegistrySnapshot> ClientPayloadHandler.synchronizedRegistries
-
Uses of RegistrySnapshot in net.neoforged.neoforge.network.payload
Modifier and TypeFieldDescriptionprivate final RegistrySnapshot
FrozenRegistryPayload.snapshot
The field for thesnapshot
record component.Modifier and TypeMethodDescriptionFrozenRegistryPayload.snapshot()
Returns the value of thesnapshot
record component.ModifierConstructorDescriptionFrozenRegistryPayload
(ResourceLocation registryName, RegistrySnapshot snapshot) Creates an instance of aFrozenRegistryPayload
record class. -
Uses of RegistrySnapshot in net.neoforged.neoforge.registries
Modifier and TypeFieldDescriptionprivate static Map
<ResourceLocation, RegistrySnapshot> RegistryManager.frozenSnapshot
static final StreamCodec
<FriendlyByteBuf, RegistrySnapshot> RegistrySnapshot.STREAM_CODEC
private static Map
<ResourceLocation, RegistrySnapshot> RegistryManager.vanillaSnapshot
Modifier and TypeMethodDescriptionstatic Map
<ResourceLocation, RegistrySnapshot> RegistryManager.takeSnapshot
(RegistryManager.SnapshotType snapshotType) Takes a snapshot of the current registries registered toBuiltInRegistries.REGISTRY
.Modifier and TypeMethodDescriptionprivate static <T> void
RegistryManager.applySnapshot
(MappedRegistry<T> registry, RegistrySnapshot snapshot, Set<ResourceKey<?>> missing) Modifier and TypeMethodDescriptionstatic Set
<ResourceKey<?>> RegistryManager.applySnapshot
(Map<ResourceLocation, RegistrySnapshot> snapshots, boolean allowMissing, boolean isLocalWorld) Applies the snapshot to the current state of theBuiltInRegistries
.