Uses of Class
net.minecraft.registry.entry.RegistryEntry.Reference
Packages that use RegistryEntry.Reference
Package
Description
-
Uses of RegistryEntry.Reference in net.minecraft.block
Fields in net.minecraft.block declared as RegistryEntry.ReferenceModifier and TypeFieldDescriptionprivate final RegistryEntry.Reference<Block>Block.registryEntryMethods in net.minecraft.block that return RegistryEntry.Reference -
Uses of RegistryEntry.Reference in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as RegistryEntry.ReferenceModifier and TypeFieldDescription(package private) final RegistryEntry.Reference<Biome>CustomizeBuffetLevelScreen.BuffetBiomesListWidget.BuffetBiomeItem.biomeConstructors in net.minecraft.client.gui.screen with parameters of type RegistryEntry.Reference -
Uses of RegistryEntry.Reference in net.minecraft.command.argument
Fields in net.minecraft.command.argument declared as RegistryEntry.ReferenceModifier and TypeFieldDescriptionprivate final RegistryEntry.Reference<T>RegistryEntryPredicateArgumentType.EntryBased.valueThe field for thevaluerecord component.Methods in net.minecraft.command.argument that return RegistryEntry.ReferenceModifier and TypeMethodDescriptionstatic RegistryEntry.Reference<ConfiguredFeature<?,?>> RegistryEntryArgumentType.getConfiguredFeature(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static RegistryEntry.Reference<ConfiguredFeature<?,?>> RegistryKeyArgumentType.getConfiguredFeatureEntry(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static RegistryEntry.Reference<Enchantment>RegistryEntryArgumentType.getEnchantment(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) RegistryEntryArgumentType.getEntityAttribute(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static RegistryEntry.Reference<EntityType<?>>RegistryEntryArgumentType.getEntityType(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static <T> RegistryEntry.Reference<T>RegistryEntryArgumentType.getRegistryEntry(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef) private static <T> RegistryEntry.Reference<T>RegistryKeyArgumentType.getRegistryEntry(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name, RegistryKey<Registry<T>> registryRef, com.mojang.brigadier.exceptions.DynamicCommandExceptionType invalidException) static RegistryEntry.Reference<StatusEffect>RegistryEntryArgumentType.getStatusEffect(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static RegistryEntry.Reference<Structure>RegistryEntryArgumentType.getStructure(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static RegistryEntry.Reference<Structure>RegistryKeyArgumentType.getStructureEntry(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static RegistryEntry.Reference<StructurePool>RegistryKeyArgumentType.getStructurePoolEntry(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static RegistryEntry.Reference<EntityType<?>>RegistryEntryArgumentType.getSummonableEntityType(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) RegistryEntryArgumentType.parse(com.mojang.brigadier.StringReader stringReader) RegistryEntryPredicateArgumentType.EntryBased.value()Returns the value of thevaluerecord component.Methods in net.minecraft.command.argument that return types with arguments of type RegistryEntry.ReferenceModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<RegistryEntry.Reference<T>,RegistryEntryList.Named<T>> RegistryEntryPredicateArgumentType.EntryBased.getEntry()com.mojang.datafixers.util.Either<RegistryEntry.Reference<T>,RegistryEntryList.Named<T>> RegistryEntryPredicateArgumentType.EntryPredicate.getEntry()com.mojang.datafixers.util.Either<RegistryEntry.Reference<T>,RegistryEntryList.Named<T>> RegistryEntryPredicateArgumentType.TagBased.getEntry()Constructors in net.minecraft.command.argument with parameters of type RegistryEntry.Reference -
Uses of RegistryEntry.Reference in net.minecraft.entity
Fields in net.minecraft.entity declared as RegistryEntry.ReferenceModifier and TypeFieldDescriptionprivate final RegistryEntry.Reference<EntityType<?>>EntityType.registryEntryMethods in net.minecraft.entity that return RegistryEntry.Reference -
Uses of RegistryEntry.Reference in net.minecraft.fluid
Fields in net.minecraft.fluid declared as RegistryEntry.ReferenceModifier and TypeFieldDescriptionprivate final RegistryEntry.Reference<Fluid>Fluid.registryEntryMethods in net.minecraft.fluid that return RegistryEntry.Reference -
Uses of RegistryEntry.Reference in net.minecraft.item
Fields in net.minecraft.item declared as RegistryEntry.ReferenceMethods in net.minecraft.item that return RegistryEntry.Reference -
Uses of RegistryEntry.Reference in net.minecraft.item.trim
Methods in net.minecraft.item.trim that return types with arguments of type RegistryEntry.ReferenceModifier and TypeMethodDescriptionArmorTrimMaterials.get(DynamicRegistryManager registryManager, ItemStack stack) ArmorTrimPatterns.get(DynamicRegistryManager registryManager, ItemStack stack) -
Uses of RegistryEntry.Reference in net.minecraft.registry
Fields in net.minecraft.registry declared as RegistryEntry.ReferenceModifier and TypeFieldDescriptionprivate RegistryEntry.Reference<T>SimpleDefaultedRegistry.defaultEntryFields in net.minecraft.registry with type parameters of type RegistryEntry.ReferenceModifier and TypeFieldDescriptionprivate @Nullable List<RegistryEntry.Reference<T>>SimpleRegistry.cachedEntriesprivate final Optional<RegistryEntry.Reference<T>>RegistryBuilder.EntryAssociatedValue.entryThe field for theentryrecord component.private final Map<Identifier,RegistryEntry.Reference<T>> SimpleRegistry.idToEntryprivate @Nullable Map<T,RegistryEntry.Reference<T>> SimpleRegistry.intrusiveValueToEntry(package private) final Map<RegistryKey<Object>,RegistryEntry.Reference<Object>> RegistryBuilder.StandAloneEntryCreatingLookup.keysToEntriesprivate final Map<RegistryKey<T>,RegistryEntry.Reference<T>> SimpleRegistry.keyToEntryprivate final ObjectList<RegistryEntry.Reference<T>>SimpleRegistry.rawIdToEntryprivate final Map<T,RegistryEntry.Reference<T>> SimpleRegistry.valueToEntryMethods in net.minecraft.registry that return RegistryEntry.ReferenceModifier and TypeMethodDescriptionMutableRegistry.add(RegistryKey<T> key, T entry, com.mojang.serialization.Lifecycle lifecycle) SimpleRegistry.add(RegistryKey<T> key, T entry, com.mojang.serialization.Lifecycle lifecycle) Registry.createEntry(T value) SimpleRegistry.createEntry(T value) default RegistryEntry.Reference<T>Registry.entryOf(RegistryKey<T> key) Returns the reference registry entry for the value assignedkey.(package private) <T> RegistryEntry.Reference<T>RegistryBuilder.StandAloneEntryCreatingLookup.getOrCreate(RegistryKey<T> key) (package private) RegistryEntry.Reference<T>SimpleRegistry.getOrCreateEntry(RegistryKey<T> key) default RegistryEntry.Reference<T>RegistryEntryLookup.getOrThrow(RegistryKey<T> key) default RegistryEntry.Reference<T>Registerable.register(RegistryKey<T> key, T value) Registerable.register(RegistryKey<T> key, T value, com.mojang.serialization.Lifecycle lifecycle) static <T> RegistryEntry.Reference<T>Registry.registerReference(Registry<T> registry, RegistryKey<T> key, T entry) static <T> RegistryEntry.Reference<T>Registry.registerReference(Registry<T> registry, Identifier id, T entry) SimpleDefaultedRegistry.set(int int2, RegistryKey<T> registryKey, T t, com.mojang.serialization.Lifecycle lifecycle) SimpleRegistry.set(int int2, RegistryKey<T> registryKey, T t, com.mojang.serialization.Lifecycle lifecycle) Methods in net.minecraft.registry that return types with arguments of type RegistryEntry.ReferenceModifier and TypeMethodDescriptionRegistryBuilder.EntryAssociatedValue.entry()Returns the value of theentryrecord component.private List<RegistryEntry.Reference<T>>SimpleRegistry.getEntries()Registry.getEntry(int rawId) Returns the reference registry entry for the value assignedrawId, or an empty optional if there is no such value.Registry.getEntry(RegistryKey<T> key) Returns the reference registry entry for the value assignedkey, or an empty optional if there is no such value.SimpleRegistry.getEntry(int rawId) Returns the reference registry entry for the value assignedrawId, or an empty optional if there is no such value.SimpleRegistry.getEntry(RegistryKey<T> key) Returns the reference registry entry for the value assignedkey, or an empty optional if there is no such value.static <E,O> com.mojang.serialization.codecs.RecordCodecBuilder<O, RegistryEntry.Reference<E>> RegistryOps.getEntryCodec(RegistryKey<E> key) RegistryBuilder.StandAloneEntryCreatingLookup.getOptional(RegistryKey<Object> key) RegistryEntryLookup.getOptional(RegistryKey<T> key) RegistryWrapper.Delegating.getOptional(RegistryKey<T> key) RegistryWrapper.Impl.Delegating.getOptional(RegistryKey<T> key) Returns a random registry entry from this registry, or an empty optional if the registry is empty.Returns a random registry entry from this registry, or an empty optional if the registry is empty.Returns a random registry entry from this registry, or an empty optional if the registry is empty.Registry.streamEntries()Returns a stream of reference registry entries of this registry.RegistryWrapper.Delegating.streamEntries()Returns a stream of registry keys defined in the wrapped registry.RegistryWrapper.Impl.Delegating.streamEntries()Returns a stream of registry keys defined in the wrapped registry.RegistryWrapper.streamEntries()Returns a stream of registry keys defined in the wrapped registry.SimpleRegistry.streamEntries()Returns a stream of reference registry entries of this registry.Methods in net.minecraft.registry with parameters of type RegistryEntry.ReferenceModifier and TypeMethodDescriptionprivate static <T> TSimpleRegistry.getValue(RegistryEntry.Reference<T> entry) Constructor parameters in net.minecraft.registry with type arguments of type RegistryEntry.ReferenceModifierConstructorDescription(package private)EntryAssociatedValue(RegistryBuilder.RegisteredValue<T> registeredValue, Optional<RegistryEntry.Reference<T>> optional) -
Uses of RegistryEntry.Reference in net.minecraft.registry.entry
Methods in net.minecraft.registry.entry that return RegistryEntry.ReferenceModifier and TypeMethodDescriptionstatic <T> RegistryEntry.Reference<T>RegistryEntry.Reference.intrusive(RegistryEntryOwner<T> owner, T value) Deprecated.Intrusive holders exist for legacy reasons only.static <T> RegistryEntry.Reference<T>RegistryEntry.Reference.standAlone(RegistryEntryOwner<T> owner, RegistryKey<T> registryKey) Returns a new stand-alone registry entry. -
Uses of RegistryEntry.Reference in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type RegistryEntry.ReferenceModifier and TypeMethodDescriptionprivate static intFillBiomeCommand.execute(ServerCommandSource source, BlockPos from, BlockPos to, RegistryEntry.Reference<Biome> biome, Predicate<RegistryEntry<Biome>> filter) private static intSummonCommand.execute(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType, Vec3d pos, NbtCompound nbt, boolean initialize) static intPlaceCommand.executePlaceFeature(ServerCommandSource source, RegistryEntry.Reference<ConfiguredFeature<?, ?>> feature, BlockPos pos) static intPlaceCommand.executePlaceStructure(ServerCommandSource source, RegistryEntry.Reference<Structure> structure, BlockPos pos) private static ServerCommandSourceExecuteCommand.summon(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType) static EntitySummonCommand.summon(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType, Vec3d pos, NbtCompound nbt, boolean initialize) -
Uses of RegistryEntry.Reference in net.minecraft.sound
Fields in net.minecraft.sound declared as RegistryEntry.ReferenceModifier and TypeFieldDescriptionstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.AMBIENT_BASALT_DELTAS_ADDITIONSstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.AMBIENT_BASALT_DELTAS_LOOPstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.AMBIENT_BASALT_DELTAS_MOODstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.AMBIENT_CAVEstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.AMBIENT_CRIMSON_FOREST_ADDITIONSstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.AMBIENT_CRIMSON_FOREST_LOOPstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.AMBIENT_CRIMSON_FOREST_MOODstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.AMBIENT_NETHER_WASTES_ADDITIONSstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.AMBIENT_NETHER_WASTES_LOOPstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.AMBIENT_NETHER_WASTES_MOODstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.AMBIENT_SOUL_SAND_VALLEY_ADDITIONSstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.AMBIENT_SOUL_SAND_VALLEY_LOOPstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.AMBIENT_SOUL_SAND_VALLEY_MOODstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.AMBIENT_WARPED_FOREST_ADDITIONSstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.AMBIENT_WARPED_FOREST_LOOPstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.AMBIENT_WARPED_FOREST_MOODstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_BANJOstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_BASEDRUMstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_BASSstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_BELLstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_BITstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_CHIMEstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_COW_BELLstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_DIDGERIDOOstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_FLUTEstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_GUITARstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_HARPstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_HATstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_IMITATE_CREEPERstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_IMITATE_ENDER_DRAGONstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_IMITATE_PIGLINstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_IMITATE_SKELETONstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_IMITATE_WITHER_SKELETONstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_IMITATE_ZOMBIEstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_IRON_XYLOPHONEstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_PLINGstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_SNAREstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_NOTE_BLOCK_XYLOPHONEstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.BLOCK_RESPAWN_ANCHOR_DEPLETEstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.EVENT_RAID_HORNstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_CREATIVEstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_CREDITSstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_DRAGONstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_ENDstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_GAMEstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_MENUstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_NETHER_BASALT_DELTASstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_NETHER_CRIMSON_FORESTstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_NETHER_NETHER_WASTESstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_NETHER_SOUL_SAND_VALLEYstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_NETHER_WARPED_FORESTstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_OVERWORLD_BADLANDSstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_OVERWORLD_BAMBOO_JUNGLEstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_OVERWORLD_CHERRY_GROVEstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_OVERWORLD_DEEP_DARKstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_OVERWORLD_DESERTstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_OVERWORLD_DRIPSTONE_CAVESstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_OVERWORLD_FLOWER_FORESTstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_OVERWORLD_FORESTstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_OVERWORLD_FROZEN_PEAKSstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_OVERWORLD_GROVEstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_OVERWORLD_JAGGED_PEAKSstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_OVERWORLD_JUNGLEstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_OVERWORLD_LUSH_CAVESstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_OVERWORLD_MEADOWstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_OVERWORLD_OLD_GROWTH_TAIGAstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_OVERWORLD_SNOWY_SLOPESstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_OVERWORLD_SPARSE_JUNGLEstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_OVERWORLD_STONY_PEAKSstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_OVERWORLD_SWAMPstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.MUSIC_UNDER_WATERstatic final RegistryEntry.Reference<SoundEvent>SoundEvents.UI_BUTTON_CLICKFields in net.minecraft.sound with type parameters of type RegistryEntry.ReferenceModifier and TypeFieldDescriptionstatic final ImmutableList<RegistryEntry.Reference<SoundEvent>>SoundEvents.GOAT_HORN_SOUNDSMethods in net.minecraft.sound that return RegistryEntry.ReferenceModifier and TypeMethodDescriptionprivate static RegistryEntry.Reference<SoundEvent>SoundEvents.registerReference(String id) private static RegistryEntry.Reference<SoundEvent>SoundEvents.registerReference(Identifier id) private static RegistryEntry.Reference<SoundEvent>SoundEvents.registerReference(Identifier id, Identifier soundId) Methods in net.minecraft.sound that return types with arguments of type RegistryEntry.ReferenceModifier and TypeMethodDescriptionprivate static ImmutableList<RegistryEntry.Reference<SoundEvent>>SoundEvents.registerGoatHornSounds() -
Uses of RegistryEntry.Reference in net.minecraft.world.event
Fields in net.minecraft.world.event declared as RegistryEntry.ReferenceModifier and TypeFieldDescriptionprivate final RegistryEntry.Reference<GameEvent>GameEvent.registryEntryMethods in net.minecraft.world.event that return RegistryEntry.Reference -
Uses of RegistryEntry.Reference in net.minecraft.world.gen.chunk
Constructors in net.minecraft.world.gen.chunk with parameters of type RegistryEntry.ReferenceModifierConstructorDescriptionDebugChunkGenerator(RegistryEntry.Reference<Biome> biomeEntry) privateFlatChunkGeneratorConfig(Optional<RegistryEntryList<StructureSet>> structureOverrides, List<FlatChunkGeneratorLayer> layers, boolean lakes, boolean features, Optional<RegistryEntry<Biome>> biome, RegistryEntry.Reference<Biome> fallback, RegistryEntry<PlacedFeature> undergroundLavaLakeFeature, RegistryEntry<PlacedFeature> surfaceLavaLakeFeature)