net.minecraft.util

public class PlaceholderLookupProvider

implements HolderGetter$Provider

azp
net.minecraft.util.PlaceholderLookupProvider
net.minecraft.class_10676
net.minecraft.class_10676

Field summary

Modifier and TypeField
final HolderLookup$Provider
a
context
field_56244
field_56244
final PlaceholderLookupProvider$UniversalLookup
b
lookup
field_56245
field_56245
final Map<ResourceKey<Object>, Holder$Reference<Object>>
c
holders
field_56246
field_56246
final Map<TagKey<Object>, HolderSet$Named<Object>>
d
holderSets
field_56247
field_56247

Constructor summary

ModifierConstructor
public (HolderLookup$Provider arg0)

Method summary

Modifier and TypeMethod
public <T> Optional<? extends HolderGetter<T>>
a(ald<? extends jr<? extends T>> arg0)
lookup(ResourceKey<? extends Registry<? extends T>> arg0)
method_46759(class_5321<? extends class_2378<? extends T>> arg0)
getOptional(RegistryKey<? extends Registry<? extends T>> arg0)
public <V> RegistryOps<V>
a(com.mojang.serialization.DynamicOps<V> arg0)
createSerializationContext(com.mojang.serialization.DynamicOps<V> arg0)
method_67089(com.mojang.serialization.DynamicOps<V> arg0)
method_67089(com.mojang.serialization.DynamicOps<V> arg0)
public RegistryContextSwapper
a()
createSwapper()
method_67088()
method_67088()
public boolean
b()
hasRegisteredPlaceholders()
method_67090()
method_67090()