Uses of Record Class
net.minecraft.core.RegistrySynchronization.PackedRegistryEntry
Package
Description
-
Uses of RegistrySynchronization.PackedRegistryEntry in net.minecraft.client.multiplayer
Modifier and TypeFieldDescriptionprivate final Map
<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> RegistryDataCollector.ContentsCollector.elements
Modifier and TypeMethodDescriptionvoid
RegistryDataCollector.ContentsCollector.append
(ResourceKey<? extends Registry<?>> p_321577_, List<RegistrySynchronization.PackedRegistryEntry> p_321551_) void
RegistryDataCollector.appendContents
(ResourceKey<? extends Registry<?>> p_321794_, List<RegistrySynchronization.PackedRegistryEntry> p_321772_) -
Uses of RegistrySynchronization.PackedRegistryEntry in net.minecraft.core
Modifier and TypeFieldDescriptionstatic final StreamCodec
<io.netty.buffer.ByteBuf, RegistrySynchronization.PackedRegistryEntry> RegistrySynchronization.PackedRegistryEntry.STREAM_CODEC
Modifier and TypeMethodDescriptionstatic void
RegistrySynchronization.packRegistries
(com.mojang.serialization.DynamicOps<Tag> p_321796_, RegistryAccess p_321733_, Set<KnownPack> p_326143_, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321539_) private static <T> void
RegistrySynchronization.packRegistry
(com.mojang.serialization.DynamicOps<Tag> p_321608_, RegistryDataLoader.RegistryData<T> p_321701_, RegistryAccess p_321717_, Set<KnownPack> p_326432_, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321724_) -
Uses of RegistrySynchronization.PackedRegistryEntry in net.minecraft.network.protocol.configuration
Modifier and TypeFieldDescriptionprivate final List
<RegistrySynchronization.PackedRegistryEntry> ClientboundRegistryDataPacket.entries
The field for theentries
record component.Modifier and TypeMethodDescriptionClientboundRegistryDataPacket.entries()
Returns the value of theentries
record component.ModifierConstructorDescriptionClientboundRegistryDataPacket
(ResourceKey<? extends Registry<?>> registry, List<RegistrySynchronization.PackedRegistryEntry> entries) Creates an instance of aClientboundRegistryDataPacket
record class. -
Uses of RegistrySynchronization.PackedRegistryEntry in net.minecraft.resources
Modifier and TypeMethodDescriptionstatic RegistryAccess.Frozen
RegistryDataLoader.load
(Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321642_, ResourceProvider p_326068_, RegistryAccess p_321850_, List<RegistryDataLoader.RegistryData<?>> p_321716_) (package private) static <E> void
RegistryDataLoader.loadContentsFromNetwork
(Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321633_, ResourceProvider p_326020_, RegistryOps.RegistryInfoLookup p_321801_, WritableRegistry<E> p_321671_, com.mojang.serialization.Decoder<E> p_321718_, Map<ResourceKey<?>, Exception> p_321625_) void
RegistryDataLoader.Loader.loadFromNetwork
(Map<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321562_, ResourceProvider p_326419_, RegistryOps.RegistryInfoLookup p_321617_)