Package-level declarations
Types
A mutable NovaRegistry that allows registering entries and tags via set. After initialization, the registry can be frozen to prevent further modifications and bind values to entries.
A thread-safe storage for values identified by keys.
Something that is registered in a NovaRegistry.
An entry in a pre-flattened Nova tag.
Service for working with paper registries.
Represents a key-value pair in a registry.
A set of RegistryEntries. RegistryEntrySets can be either:
A builder for creating or modifying the entries of a tag in a pre-flattened state.
Properties
A set of all RegistryKeys.
Gets the registry entry for this PotPatternType in RegistryKey.DECORATED_POT_PATTERN.
Gets the registry entry for this DataComponentType in RegistryKey.DATA_COMPONENT_TYPE.
Gets the registry entry for this PoiType in RegistryKey.POINT_OF_INTEREST_TYPE.
Gets the registry entry for this Fluid in RegistryKey.FLUID.
Gets the registry entry for this GameEvent in RegistryKey.GAME_EVENT.
Gets the registry entry for this GameRule in RegistryKey.GAME_RULE.
Gets the registry entry for this JukeboxSong in RegistryKey.JUKEBOX_SONG.
Gets the registry entry for this Particle in RegistryKey.PARTICLE_TYPE.
Gets the registry entry for this Attribute in RegistryKey.ATTRIBUTE.
Gets the registry entry for this Biome in RegistryKey.BIOME.
Gets the registry entry for this BlockType in RegistryKey.BLOCK.
Gets the registry entry for this DamageType in RegistryKey.DAMAGE_TYPE.
Gets the registry entry for this Enchantment in RegistryKey.ENCHANTMENT.
Gets the registry entry for this Cat.SoundVariant in RegistryKey.CAT_SOUND_VARIANT.
Gets the registry entry for this Cat.Type in RegistryKey.CAT_VARIANT.
Gets the registry entry for this Chicken.SoundVariant in RegistryKey.CHICKEN_SOUND_VARIANT.
Gets the registry entry for this Chicken.Variant in RegistryKey.CHICKEN_VARIANT.
Gets the registry entry for this Cow.SoundVariant in RegistryKey.COW_SOUND_VARIANT.
Gets the registry entry for this Cow.Variant in RegistryKey.COW_VARIANT.
Gets the registry entry for this EntityType in RegistryKey.ENTITY_TYPE.
Gets the registry entry for this Frog.Variant in RegistryKey.FROG_VARIANT.
Gets the registry entry for this Pig.SoundVariant in RegistryKey.PIG_SOUND_VARIANT.
Gets the registry entry for this Pig.Variant in RegistryKey.PIG_VARIANT.
Gets the registry entry for this SulfurCube.Archetype in RegistryKey.SULFUR_CUBE_ARCHETYPE.
Gets the registry entry for this Villager.Profession in RegistryKey.VILLAGER_PROFESSION.
Gets the registry entry for this Villager.Type in RegistryKey.VILLAGER_TYPE.
Gets the registry entry for this Wolf.SoundVariant in RegistryKey.WOLF_SOUND_VARIANT.
Gets the registry entry for this Wolf.Variant in RegistryKey.WOLF_VARIANT.
Gets the registry entry for this ZombieNautilus.Variant in RegistryKey.ZOMBIE_NAUTILUS_VARIANT.
Gets the registry entry for this MemoryKey in RegistryKey.MEMORY_MODULE_TYPE.
Gets the registry entry for this StructureType in RegistryKey.STRUCTURE_TYPE.
Gets the registry entry for this ItemType in RegistryKey.ITEM.
Gets the registry entry for this MenuType in RegistryKey.MENU.
Gets the registry entry for this MapCursor.Type in RegistryKey.MAP_DECORATION_TYPE.
Gets the registry entry for this PotionEffectType in RegistryKey.MOB_EFFECT.
Gets the registry entry for this PotionType in RegistryKey.POTION.
Gets the tags that contain this Dialog.
Gets the tags that contain this PoiType.
Gets the tags that contain this Art.
Gets the tags that contain this Fluid.
Gets the tags that contain this GameEvent.
Gets the tags that contain this MusicInstrument.
Gets the tags that contain this Biome.
Gets the tags that contain this BlockType.
Gets the tags that contain this PatternType.
Gets the tags that contain this DamageType.
Gets the tags that contain this Enchantment.
Gets the tags that contain this EntityType.
Gets the tags that contain this Structure.
Gets the tags that contain this ItemType.
Gets the tags that contain this PotionType.
Gets the tags that contain this Dialog entry.
Gets the tags that contain this PoiType entry.
Gets the tags that contain this Art entry.
Gets the tags that contain this Fluid entry.
Gets the tags that contain this GameEvent entry.
Gets the tags that contain this MusicInstrument entry.
Gets the tags that contain this Biome entry.
Gets the tags that contain this BlockType entry.
Gets the tags that contain this PatternType entry.
Gets the tags that contain this DamageType entry.
Gets the tags that contain this Enchantment entry.
Gets the tags that contain this EntityType entry.
Gets the tags that contain this Structure entry.
Gets the tags that contain this ItemType entry.
Gets the tags that contain this PotionType entry.
Gets the typed key for this PotPatternType in RegistryKey.DECORATED_POT_PATTERN.
Gets the typed key for this DataComponentType in RegistryKey.DATA_COMPONENT_TYPE.
Gets the typed key for this PoiType in RegistryKey.POINT_OF_INTEREST_TYPE.
Gets the typed key for this Fluid in RegistryKey.FLUID.
Gets the typed key for this GameEvent in RegistryKey.GAME_EVENT.
Gets the typed key for this GameRule in RegistryKey.GAME_RULE.
Gets the typed key for this JukeboxSong in RegistryKey.JUKEBOX_SONG.
Gets the typed key for this Particle in RegistryKey.PARTICLE_TYPE.
Gets the typed key for this Attribute in RegistryKey.ATTRIBUTE.
Gets the typed key for this Biome in RegistryKey.BIOME.
Gets the typed key for this BlockType in RegistryKey.BLOCK.
Gets the typed key for this DamageType in RegistryKey.DAMAGE_TYPE.
Gets the typed key for this Enchantment in RegistryKey.ENCHANTMENT.
Gets the typed key for this Cat.SoundVariant in RegistryKey.CAT_SOUND_VARIANT.
Gets the typed key for this Cat.Type in RegistryKey.CAT_VARIANT.
Gets the typed key for this Chicken.SoundVariant in RegistryKey.CHICKEN_SOUND_VARIANT.
Gets the typed key for this Chicken.Variant in RegistryKey.CHICKEN_VARIANT.
Gets the typed key for this Cow.SoundVariant in RegistryKey.COW_SOUND_VARIANT.
Gets the typed key for this Cow.Variant in RegistryKey.COW_VARIANT.
Gets the typed key for this EntityType in RegistryKey.ENTITY_TYPE.
Gets the typed key for this Frog.Variant in RegistryKey.FROG_VARIANT.
Gets the typed key for this Pig.SoundVariant in RegistryKey.PIG_SOUND_VARIANT.
Gets the typed key for this Pig.Variant in RegistryKey.PIG_VARIANT.
Gets the typed key for this SulfurCube.Archetype in RegistryKey.SULFUR_CUBE_ARCHETYPE.
Gets the typed key for this Villager.Profession in RegistryKey.VILLAGER_PROFESSION.
Gets the typed key for this Villager.Type in RegistryKey.VILLAGER_TYPE.
Gets the typed key for this Wolf.SoundVariant in RegistryKey.WOLF_SOUND_VARIANT.
Gets the typed key for this Wolf.Variant in RegistryKey.WOLF_VARIANT.
Gets the typed key for this ZombieNautilus.Variant in RegistryKey.ZOMBIE_NAUTILUS_VARIANT.
Gets the typed key for this MemoryKey in RegistryKey.MEMORY_MODULE_TYPE.
Gets the typed key for this StructureType in RegistryKey.STRUCTURE_TYPE.
Gets the typed key for this ItemType in RegistryKey.ITEM.
Gets the typed key for this MenuType in RegistryKey.MENU.
Gets the typed key for this MapCursor.Type in RegistryKey.MAP_DECORATION_TYPE.
Gets the typed key for this PotionEffectType in RegistryKey.MOB_EFFECT.
Gets the typed key for this PotionType in RegistryKey.POTION.
Functions
Adds the entries in entriesByTag to their corresponding tags during pre-flatten if they exist. Does not create new tags. Non-existent tags are ignored. Changes to entriesByTag cause a data reload.
Flat-maps the value of this provider via transform. During bootstrap phase, uses Provider.flatMap, otherwise Provider.immediateFlatMap. This allows creating flat-mapped providers based off of RegistryEntries lazily during bootstrap phase, where resolving their value is not possible, without paying for the extra overhead post-bootstrap, where immediateFlatMap can be used.
Flattens the value of this provider. During bootstrap phase, uses Provider.flatMap, otherwise Provider.immediateFlatMap. This allows creating flat-mapped providers based off of RegistryEntries lazily during bootstrap phase, where resolving their value is not possible, without paying for the extra overhead post-bootstrap, where immediateFlatMap can be used.
Builds a provider of NovaTagEntry sets using the given build function.
Returns an empty RegistryEntrySet.
Returns an empty RegistryEntrySet.Paper.Direct for the given registry.
Returns an empty RegistryEntrySet.Nova.Direct for the given registry.
Creates a new, possibly reloadable, MutableNovaRegistry identified by key that may use unknownEntryFactory to create values for unregistered keys.
Returns a provider of an RegistryEntrySet.Paper.Tag for the given tagKey, resolving from registryAccess, or null if the tag doesn't exist in the registry.
Returns a RegistryEntrySet.Nova containing elements.
Returns a RegistryEntrySet.Paper containing elements.
Returns a RegistryEntrySet.Paper.Tag for all entries in the given registryKey, resolving from registryAccess. This uses a fake tag key using the registry key, which is not actually present in the registry.
Returns a RegistryEntrySet.Paper.Tag for the given tagKey, resolving from registryAccess.
Returns a RegistryEntrySet.Paper for the given keys, resolving from registryAccess.
Returns a RegistryEntrySet.Nova containing (element, elements).
Returns a RegistryEntrySet.Paper containing (element, elements).
Returns a RegistryEntrySet.Paper from the given (key, keys), resolving from registryAccess.