Uses of Class
net.minecraft.registry.entry.RegistryEntry.Reference
Package
Description
-
Uses of RegistryEntry.Reference in net.minecraft.block
Modifier and TypeFieldDescriptionprivate final RegistryEntry.Reference<Block>
Block.registryEntry
-
Uses of RegistryEntry.Reference in net.minecraft.client.gui.screen
Modifier and TypeFieldDescription(package private) final RegistryEntry.Reference<Biome>
CustomizeBuffetLevelScreen.BuffetBiomesListWidget.BuffetBiomeItem.biome
-
Uses of RegistryEntry.Reference in net.minecraft.command.argument
Modifier and TypeFieldDescriptionprivate final RegistryEntry.Reference<T>
RegistryEntryPredicateArgumentType.EntryBased.value
The field for thevalue
record component.Modifier 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 thevalue
record component.Modifier 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()
-
Uses of RegistryEntry.Reference in net.minecraft.entity
Modifier and TypeFieldDescriptionprivate final RegistryEntry.Reference<EntityType<?>>
EntityType.registryEntry
-
Uses of RegistryEntry.Reference in net.minecraft.fluid
Modifier and TypeFieldDescriptionprivate final RegistryEntry.Reference<Fluid>
Fluid.registryEntry
-
Uses of RegistryEntry.Reference in net.minecraft.item
-
Uses of RegistryEntry.Reference in net.minecraft.item.trim
Modifier and TypeMethodDescriptionArmorTrimMaterials.get
(DynamicRegistryManager registryManager, ItemStack stack) ArmorTrimPatterns.get
(DynamicRegistryManager registryManager, ItemStack stack) -
Uses of RegistryEntry.Reference in net.minecraft.registry
Modifier and TypeFieldDescriptionprivate RegistryEntry.Reference<T>
SimpleDefaultedRegistry.defaultEntry
Modifier and TypeFieldDescriptionprivate @Nullable List<RegistryEntry.Reference<T>>
SimpleRegistry.cachedEntries
private final Optional<RegistryEntry.Reference<T>>
RegistryBuilder.EntryAssociatedValue.entry
The field for theentry
record component.private final Map<Identifier,
RegistryEntry.Reference<T>> SimpleRegistry.idToEntry
private @Nullable Map<T,
RegistryEntry.Reference<T>> SimpleRegistry.intrusiveValueToEntry
(package private) final Map<RegistryKey<Object>,
RegistryEntry.Reference<Object>> RegistryBuilder.StandAloneEntryCreatingLookup.keysToEntries
private final Map<RegistryKey<T>,
RegistryEntry.Reference<T>> SimpleRegistry.keyToEntry
private final ObjectList<RegistryEntry.Reference<T>>
SimpleRegistry.rawIdToEntry
private final Map<T,
RegistryEntry.Reference<T>> SimpleRegistry.valueToEntry
Modifier 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) static <T> RegistryEntry.Reference<T>
Registry.method_47984
(Registry<T> registry, RegistryKey<T> registryKey, T t) 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, Identifier identifier, T t) 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) Modifier and TypeMethodDescriptionRegistryBuilder.EntryAssociatedValue.entry()
Returns the value of theentry
record 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.Modifier and TypeMethodDescriptionprivate static <T> T
SimpleRegistry.getValue
(RegistryEntry.Reference<T> entry) ModifierConstructorDescription(package private)
EntryAssociatedValue
(RegistryBuilder.RegisteredValue<T> registeredValue, Optional<RegistryEntry.Reference<T>> optional) -
Uses of RegistryEntry.Reference in net.minecraft.registry.entry
Modifier 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
Modifier and TypeMethodDescriptionprivate static int
FillBiomeCommand.execute
(ServerCommandSource source, BlockPos from, BlockPos to, RegistryEntry.Reference<Biome> biome, Predicate<RegistryEntry<Biome>> filter) private static int
SummonCommand.execute
(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType, Vec3d pos, NbtCompound nbt, boolean initialize) static int
PlaceCommand.executePlaceFeature
(ServerCommandSource source, RegistryEntry.Reference<ConfiguredFeature<?, ?>> feature, BlockPos pos) static int
PlaceCommand.executePlaceStructure
(ServerCommandSource source, RegistryEntry.Reference<Structure> structure, BlockPos pos) private static ServerCommandSource
ExecuteCommand.summon
(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType) static Entity
SummonCommand.summon
(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType, Vec3d pos, NbtCompound nbt, boolean initialize) -
Uses of RegistryEntry.Reference in net.minecraft.sound
Modifier and TypeFieldDescriptionstatic final RegistryEntry.Reference<SoundEvent>
SoundEvents.AMBIENT_BASALT_DELTAS_ADDITIONS
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.AMBIENT_BASALT_DELTAS_LOOP
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.AMBIENT_BASALT_DELTAS_MOOD
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.AMBIENT_CAVE
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.AMBIENT_CRIMSON_FOREST_ADDITIONS
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.AMBIENT_CRIMSON_FOREST_LOOP
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.AMBIENT_CRIMSON_FOREST_MOOD
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.AMBIENT_NETHER_WASTES_ADDITIONS
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.AMBIENT_NETHER_WASTES_LOOP
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.AMBIENT_NETHER_WASTES_MOOD
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.AMBIENT_SOUL_SAND_VALLEY_ADDITIONS
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.AMBIENT_SOUL_SAND_VALLEY_LOOP
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.AMBIENT_SOUL_SAND_VALLEY_MOOD
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.AMBIENT_WARPED_FOREST_ADDITIONS
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.AMBIENT_WARPED_FOREST_LOOP
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.AMBIENT_WARPED_FOREST_MOOD
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_BANJO
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_BASEDRUM
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_BASS
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_BELL
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_BIT
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_CHIME
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_COW_BELL
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_DIDGERIDOO
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_FLUTE
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_GUITAR
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_HARP
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_HAT
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_IMITATE_CREEPER
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_IMITATE_ENDER_DRAGON
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_IMITATE_PIGLIN
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_IMITATE_SKELETON
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_IMITATE_WITHER_SKELETON
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_IMITATE_ZOMBIE
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_IRON_XYLOPHONE
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_PLING
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_SNARE
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_NOTE_BLOCK_XYLOPHONE
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.BLOCK_RESPAWN_ANCHOR_DEPLETE
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.EVENT_RAID_HORN
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_CREATIVE
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_CREDITS
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_DRAGON
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_END
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_GAME
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_MENU
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_NETHER_BASALT_DELTAS
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_NETHER_CRIMSON_FOREST
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_NETHER_NETHER_WASTES
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_NETHER_SOUL_SAND_VALLEY
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_NETHER_WARPED_FOREST
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_OVERWORLD_CHERRY_GROVE
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_OVERWORLD_DEEP_DARK
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_OVERWORLD_DRIPSTONE_CAVES
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_OVERWORLD_FROZEN_PEAKS
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_OVERWORLD_GROVE
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_OVERWORLD_JAGGED_PEAKS
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_OVERWORLD_JUNGLE_AND_FOREST
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_OVERWORLD_LUSH_CAVES
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_OVERWORLD_MEADOW
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_OVERWORLD_OLD_GROWTH_TAIGA
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_OVERWORLD_SNOWY_SLOPES
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_OVERWORLD_STONY_PEAKS
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_OVERWORLD_SWAMP
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.MUSIC_UNDER_WATER
static final RegistryEntry.Reference<SoundEvent>
SoundEvents.UI_BUTTON_CLICK
Modifier and TypeFieldDescriptionstatic final ImmutableList<RegistryEntry.Reference<SoundEvent>>
SoundEvents.GOAT_HORN_SOUNDS
Modifier 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) Modifier and TypeMethodDescriptionprivate static ImmutableList<RegistryEntry.Reference<SoundEvent>>
SoundEvents.registerGoatHornSounds()
-
Uses of RegistryEntry.Reference in net.minecraft.world.event
Modifier and TypeFieldDescriptionprivate final RegistryEntry.Reference<GameEvent>
GameEvent.registryEntry
-
Uses of RegistryEntry.Reference in net.minecraft.world.gen.chunk
ModifierConstructorDescriptionDebugChunkGenerator
(RegistryEntry.Reference<Biome> biomeEntry) private
FlatChunkGeneratorConfig
(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)