Uses of Class
net.minecraft.util.registry.RegistryEntry.Reference
Packages that use RegistryEntry.Reference
Package
Description
Contains the registry, used to register various in-game components, and related classes.
-
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.getEntry(RegistryKey<T> key) CommandRegistryWrapper.Impl.getEntry(RegistryKey<T> key) -
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.method_45600(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.registry
Fields 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>Registry.createEntry(T value) SimpleRegistry.createEntry(T value) Registry.entryOf(RegistryKey<T> key) Returns the reference registry entry for the value assignedkey.abstract RegistryEntry.Reference<T>Registry.getOrCreateEntry(RegistryKey<T> key) SimpleRegistry.getOrCreateEntry(RegistryKey<T> key) static <T> RegistryEntry.Reference<T>Deprecated.Intrusive holders exist for legacy reasons only.static <T> RegistryEntry.Reference<T>RegistryEntry.Reference.standAlone(Registry<T> registry, 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.abstract com.mojang.serialization.DataResult<RegistryEntry.Reference<T>>Registry.getOrCreateEntryDataResult(RegistryKey<T> key) com.mojang.serialization.DataResult<RegistryEntry.Reference<T>>SimpleRegistry.getOrCreateEntryDataResult(RegistryKey<T> key) 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