Package org.geysermc.geyser.registry.java.reader
package org.geysermc.geyser.registry.java.reader
-
ClassDescriptionA
JavaRegistryReaderis a function that takes aJavaRegistryReader.Context, holding anObject(the "registry entry", serialised as NBT), and parses it into aJavaRegistryReader, possibly using other registries provided byJavaRegistryProvider.Provides a registry entry (serialised to NBT), and aJavaRegistryProvider.DefinesJavaRegistryReaders for all networkedJavaRegistryKeys.This interface weakens the definitions defined inJavaRegistryReader, by taking aRegistryEntryContextasJavaRegistryReader.Context, which providesRegistryEntryContext.id()to access theKeyof the registry entry being parsed.ExpandsJavaRegistryReader.Contextwith aKey.