Uses of Class
net.minecraft.util.registry.RegistryEntry.Reference
Packages that use RegistryEntry.Reference
Package
Description
The base package for all Minecraft classes.
Contains the registry, used to register various in-game components, and related classes.
-
Uses of RegistryEntry.Reference in net.minecraft
Fields in net.minecraft with type parameters of type RegistryEntry.ReferenceModifier and TypeFieldDescription(package private) final Map<RegistryKey<Object>,RegistryEntry.Reference<Object>> class_7877.class_7885.field_40948private final Optional<RegistryEntry.Reference<T>>class_7877.class_7886.holderThe field for theholderrecord component.Methods in net.minecraft that return RegistryEntry.ReferenceModifier and TypeMethodDescriptiondefault RegistryEntry.Reference<T>class_7871.method_46747(RegistryKey<T> registryKey) class_7891.method_46800(RegistryKey<T> registryKey, T t, com.mojang.serialization.Lifecycle lifecycle) (package private) <T> RegistryEntry.Reference<T>class_7877.class_7885.method_46807(RegistryKey<T> registryKey) default RegistryEntry.Reference<T>class_7891.method_46838(RegistryKey<T> registryKey, T t) Methods in net.minecraft that return types with arguments of type RegistryEntry.ReferenceModifier and TypeMethodDescriptionclass_7877.class_7886.holder()Returns the value of theholderrecord component.class_7871.method_46746(RegistryKey<T> registryKey) class_7877.class_7885.method_46746(RegistryKey<Object> registryKey) Constructor parameters in net.minecraft with type arguments of type RegistryEntry.ReferenceModifierConstructorDescription(package private)class_7886(class_7877.class_7881<T> class_7881, Optional<RegistryEntry.Reference<T>> optional) -
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
Methods in net.minecraft.command that return types with arguments of type RegistryEntry.ReferenceModifier and TypeMethodDescriptionCommandRegistryWrapper.class_7873.method_46746(RegistryKey<T> registryKey) CommandRegistryWrapper.Impl.class_7875.method_46746(RegistryKey<T> registryKey) CommandRegistryWrapper.class_7873.streamKeys()Returns a stream of registry keys defined in the wrapped registry.CommandRegistryWrapper.Impl.class_7875.streamKeys()Returns a stream of registry keys defined in the wrapped registry.CommandRegistryWrapper.streamKeys()Returns a stream of registry keys defined in the wrapped registry. -
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.server.command
Methods in net.minecraft.server.command with parameters of type RegistryEntry.ReferenceModifier and TypeMethodDescriptionprivate 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.util.dynamic
Methods in net.minecraft.util.dynamic that return types with arguments of type RegistryEntry.ReferenceModifier and TypeMethodDescriptionstatic <E,O> com.mojang.serialization.codecs.RecordCodecBuilder<O, RegistryEntry.Reference<E>> RegistryOps.method_46637(RegistryKey<E> registryKey) -
Uses of RegistryEntry.Reference in net.minecraft.util.registry
Fields in net.minecraft.util.registry declared as RegistryEntry.ReferenceModifier and TypeFieldDescriptionprivate RegistryEntry.Reference<T>DefaultedRegistry.defaultEntryFields in net.minecraft.util.registry with type parameters of type RegistryEntry.ReferenceModifier and TypeFieldDescriptionprivate @Nullable List<RegistryEntry.Reference<T>>SimpleRegistry.cachedEntriesprivate final Map<Identifier,RegistryEntry.Reference<T>> SimpleRegistry.idToEntryprivate @Nullable Map<T,RegistryEntry.Reference<T>> SimpleRegistry.intrusiveValueToEntryprivate 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.util.registry that return RegistryEntry.ReferenceModifier and TypeMethodDescriptionabstract RegistryEntry.Reference<T>MutableRegistry.add(RegistryKey<T> key, T entry, com.mojang.serialization.Lifecycle lifecycle) SimpleRegistry.add(RegistryKey<T> key, T entry, com.mojang.serialization.Lifecycle lifecycle) abstract RegistryEntry.Reference<T>Registry.createEntry(T value) SimpleRegistry.createEntry(T value) Registry.entryOf(RegistryKey<T> key) Returns the reference registry entry for the value assignedkey.(package private) RegistryEntry.Reference<T>SimpleRegistry.getOrCreateEntry(RegistryKey<T> registryKey) static <T> RegistryEntry.Reference<T>RegistryEntry.Reference.intrusive(class_7876<T> class_7876, T value) Deprecated.Intrusive holders exist for legacy reasons only.DefaultedRegistry.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) static <T> RegistryEntry.Reference<T>RegistryEntry.Reference.standAlone(class_7876<T> class_7876, RegistryKey<T> registryKey) Returns a new stand-alone registry entry.Methods in net.minecraft.util.registry that return types with arguments of type RegistryEntry.ReferenceModifier and TypeMethodDescriptionprivate List<RegistryEntry.Reference<T>>SimpleRegistry.getEntries()abstract Optional<RegistryEntry.Reference<T>>Registry.getEntry(int rawId) Returns the reference registry entry for the value assignedrawId, or an empty optional if there is no such value.abstract Optional<RegistryEntry.Reference<T>>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.Returns a random registry entry from this registry, or an empty optional if the registry is empty.abstract Optional<RegistryEntry.Reference<T>>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.abstract Stream<RegistryEntry.Reference<T>>Registry.streamEntries()Returns a stream of reference registry entries of this registry.SimpleRegistry.streamEntries()Returns a stream of reference registry entries of this registry.Methods in net.minecraft.util.registry with parameters of type RegistryEntry.ReferenceModifier and TypeMethodDescriptionprivate static <T> TSimpleRegistry.getValue(RegistryEntry.Reference<T> entry) -
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> reference) privateFlatChunkGeneratorConfig(Optional<RegistryEntryList<StructureSet>> optional, List<FlatChunkGeneratorLayer> list, boolean bool, boolean bool2, Optional<RegistryEntry<Biome>> optional2, RegistryEntry.Reference<Biome> reference, RegistryEntry<PlacedFeature> registryEntry, RegistryEntry<PlacedFeature> registryEntry2)