Uses of Class
net.minecraft.core.Holder.Reference
Package
Description
-
Uses of Holder.Reference in net.minecraft.client.color.block
Modifier and TypeFieldDescriptionprivate final Map<Holder.Reference<Block>,
BlockColor> BlockColors.blockColors
-
Uses of Holder.Reference in net.minecraft.client.color.item
Modifier and TypeFieldDescriptionprivate final Map<Holder.Reference<Item>,
ItemColor> ItemColors.itemColors
-
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.client.renderer
Modifier and TypeFieldDescriptionprivate static final Map<Holder.Reference<Block>,
ChunkRenderTypeSet> ItemBlockRenderTypes.BLOCK_RENDER_TYPES
private static final Map<Holder.Reference<Fluid>,
RenderType> ItemBlockRenderTypes.FLUID_RENDER_TYPES
-
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
Modifier and TypeFieldDescriptionprivate final Holder.Reference<Item>
private final Holder.Reference<Item>
ItemStack.delegate
-
Uses of Holder.Reference in net.minecraft.world.item.alchemy
Modifier and TypeFieldDescriptionfinal Holder.Reference<T>
PotionBrewing.Mix.from
final Holder.Reference<T>
PotionBrewing.Mix.to
-
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.client.model
Modifier and TypeFieldDescriptionprivate final Map<Holder.Reference<Item>,
ModelResourceLocation> ForgeItemModelShaper.locations
private final Map<Holder.Reference<Item>,
BakedModel> ForgeItemModelShaper.models
-
Uses of Holder.Reference in net.minecraftforge.common
Modifier and TypeFieldDescriptionprivate static final Map<Holder.Reference<Item>,
Integer> ForgeHooks.VANILLA_BURNS
-
Uses of Holder.Reference in net.minecraftforge.fluids
-
Uses of Holder.Reference in net.minecraftforge.registries
Modifier and TypeFieldDescriptionprivate Holder.Reference<T>
NamespacedHolderHelper.defaultHolder
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
Holder.Reference<V>> ForgeRegistry.delegatesByName
private final Map<V,
Holder.Reference<V>> ForgeRegistry.delegatesByValue
private final @Nullable 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 TypeMethodDescriptionprivate Holder.Reference<V>
ForgeRegistry.bindDelegate
(ResourceKey<V> rkey, V value) NamespacedDefaultedWrapper.createIntrusiveHolder
(T value) (package private) Holder.Reference<T>
NamespacedHolderHelper.createIntrusiveHolder
(T value) NamespacedWrapper.createIntrusiveHolder
(T value) ForgeRegistry.getDelegateOrThrow
(ResourceKey<V> rkey) ForgeRegistry.getDelegateOrThrow
(ResourceLocation key) ForgeRegistry.getDelegateOrThrow
(V value) IForgeRegistry.getDelegateOrThrow
(ResourceKey<V> rkey) IForgeRegistry.getDelegateOrThrow
(ResourceLocation key) IForgeRegistry.getDelegateOrThrow
(V value) private Holder.Reference<T>
NamespacedHolderHelper.getHolder
(ResourceKey<T> key, T value) Modifier and TypeMethodDescription@NotNull Optional<Holder.Reference<V>>
ForgeRegistry.getDelegate
(ResourceKey<V> rkey) @NotNull Optional<Holder.Reference<V>>
ForgeRegistry.getDelegate
(ResourceLocation key) @NotNull Optional<Holder.Reference<V>>
ForgeRegistry.getDelegate
(V value) @NotNull Optional<Holder.Reference<V>>
IForgeRegistry.getDelegate
(ResourceKey<V> rkey) @NotNull Optional<Holder.Reference<V>>
IForgeRegistry.getDelegate
(ResourceLocation key) @NotNull Optional<Holder.Reference<V>>
IForgeRegistry.getDelegate
(V value) private 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, @Nullable ResourceLocation defaultKey, @Nullable Function<T, Holder.Reference<T>> holderLookup) NamespacedWrapper
(ForgeRegistry<T> owner, Function<T, Holder.Reference<T>> holderLookup)