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.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) 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) -
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)