Uses of Class
net.minecraft.core.Holder.Reference
Package
Description
-
Uses of Holder.Reference in net.minecraft.client.gui.screens
Modifier and TypeFieldDescription(package private) final Holder.Reference<Biome>
CreateBuffetWorldScreen.BiomeList.Entry.biome
-
Uses of Holder.Reference in net.minecraft.core
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.ObjectList<Holder.Reference<T>>
MappedRegistry.byId
private final Map<ResourceKey<T>,
Holder.Reference<T>> MappedRegistry.byKey
private final Map<ResourceLocation,
Holder.Reference<T>> MappedRegistry.byLocation
private final Map<T,
Holder.Reference<T>> MappedRegistry.byValue
private final Function<T,
Holder.Reference<T>> MappedRegistry.customHolderProvider
private List<Holder.Reference<T>>
MappedRegistry.holdersInOrder
private Map<T,
Holder.Reference<T>> MappedRegistry.intrusiveHolderCache
Modifier and TypeMethodDescriptionstatic <T> Holder.Reference<T>
Holder.Reference.createIntrusive
(Registry<T> p_205764_, T p_205765_) Deprecated.MappedRegistry.createIntrusiveHolder
(T p_205915_) abstract Holder.Reference<T>
Registry.createIntrusiveHolder
(T p_206068_) static <T> Holder.Reference<T>
Holder.Reference.createStandAlone
(Registry<T> p_205767_, ResourceKey<T> p_205768_) Modifier and TypeMethodDescriptionMappedRegistry.holders()
abstract Stream<Holder.Reference<T>>
Registry.holders()
private List<Holder.Reference<T>>
MappedRegistry.holdersInOrder()
Modifier and TypeMethodDescriptionprivate static <T> RegistryAccess.RegistryEntry<T>
RegistryAccess.RegistryEntry.fromHolder
(Holder.Reference<? extends Registry<? extends T>> p_206240_) private static <T> T
MappedRegistry.getValueFromNullable
(Holder.Reference<T> p_205866_) Modifier and TypeMethodDescriptionprivate static <T> DefaultedRegistry<T>
Registry.registerDefaulted
(ResourceKey<? extends Registry<T>> p_206022_, String p_206023_, com.mojang.serialization.Lifecycle p_206024_, Function<T, Holder.Reference<T>> p_206025_, Registry.RegistryBootstrap<T> p_206026_) private static <T> DefaultedRegistry<T>
Registry.registerDefaulted
(ResourceKey<? extends Registry<T>> p_206032_, String p_206033_, Function<T, Holder.Reference<T>> p_206034_, Registry.RegistryBootstrap<T> p_206035_) private static <T> Registry<T>
Registry.registerSimple
(ResourceKey<? extends Registry<T>> p_206004_, com.mojang.serialization.Lifecycle p_206005_, Function<T, Holder.Reference<T>> p_206006_, Registry.RegistryBootstrap<T> p_206007_) ModifierConstructorDescriptionDefaultedRegistry
(String p_205693_, ResourceKey<? extends Registry<T>> p_205694_, com.mojang.serialization.Lifecycle p_205695_, Function<T, Holder.Reference<T>> p_205696_) MappedRegistry
(ResourceKey<? extends Registry<T>> p_205849_, com.mojang.serialization.Lifecycle p_205850_, Function<T, Holder.Reference<T>> p_205851_) -
Uses of Holder.Reference in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprivate final Holder.Reference<EntityType<?>>
EntityType.builtInRegistryHolder
-
Uses of Holder.Reference in net.minecraft.world.item
-
Uses of Holder.Reference in net.minecraft.world.level.block
Modifier and TypeFieldDescriptionprivate final Holder.Reference<Block>
Block.builtInRegistryHolder
-
Uses of Holder.Reference in net.minecraft.world.level.gameevent
Modifier and TypeFieldDescriptionprivate final Holder.Reference<GameEvent>
GameEvent.builtInRegistryHolder
-
Uses of Holder.Reference in net.minecraft.world.level.material
Modifier and TypeFieldDescriptionprivate final Holder.Reference<Fluid>
Fluid.builtInRegistryHolder
-
Uses of Holder.Reference in net.minecraftforge.registries
Modifier and TypeFieldDescriptionprivate Holder.Reference<T>
NamespacedHolderHelper.defaultHolder
Modifier and TypeFieldDescriptionprivate final Function<T,
Holder.Reference<T>> NamespacedHolderHelper.holderLookup
private Map<T,
Holder.Reference<T>> NamespacedHolderHelper.holders
private it.unimi.dsi.fastutil.objects.ObjectList<Holder.Reference<T>>
NamespacedHolderHelper.holdersById
private Map<ResourceLocation,
Holder.Reference<T>> NamespacedHolderHelper.holdersByName
private List<Holder.Reference<T>>
NamespacedHolderHelper.holdersSorted
private Function<T,
Holder.Reference<T>> RegistryBuilder.vanillaHolder
Modifier and TypeMethodDescriptionNamespacedDefaultedWrapper.createIntrusiveHolder
(T value) (package private) Holder.Reference<T>
NamespacedHolderHelper.createIntrusiveHolder
(T value) NamespacedWrapper.createIntrusiveHolder
(T value) private Holder.Reference<T>
NamespacedHolderHelper.getHolder
(ResourceKey<T> key, T value) Modifier and TypeMethodDescriptionprivate List<Holder.Reference<T>>
NamespacedHolderHelper.getSortedHolders()
(package private) Function<T,
Holder.Reference<T>> RegistryBuilder.getVanillaHolder()
NamespacedDefaultedWrapper.holders()
(package private) Stream<Holder.Reference<T>>
NamespacedHolderHelper.holders()
NamespacedWrapper.holders()
Modifier and TypeMethodDescriptionprivate void
NamespacedHolderHelper.addTagToHolder
(Map<Holder.Reference<T>, List<TagKey<T>>> holderToTag, TagKey<T> name, Holder<T> holder) (package private) RegistryBuilder<T>
RegistryBuilder.vanillaHolder
(Function<T, Holder.Reference<T>> func) ModifierConstructorDescriptionprivate
NamespacedDefaultedWrapper
(ForgeRegistry<T> owner, Function<T, Holder.Reference<T>> holderLookup) (package private)
NamespacedHolderHelper
(ForgeRegistry<T> owner, Registry<T> self, ResourceLocation defaultKey, Function<T, Holder.Reference<T>> holderLookup) NamespacedWrapper
(ForgeRegistry<T> owner, Function<T, Holder.Reference<T>> holderLookup)