net.minecraft.registry

public class ContextSwappableRegistryLookup

implements RegistryEntryLookup$RegistryLookup

net.minecraft.util.PlaceholderLookupProvider
net.minecraft.class_10676
net.minecraft.registry.ContextSwappableRegistryLookup

Field summary

Modifier and TypeField
private final RegistryWrapper$WrapperLookup
context
field_56244
delegate
private final ContextSwappableRegistryLookup$EntryLookupImpl
lookup
field_56245
entryLookupImpl
private final Map<RegistryKey<Object>, RegistryEntry$Reference<Object>>
holders
field_56246
entries
private final Map<TagKey<Object>, RegistryEntryList$Named<Object>>
holderSets
field_56247
tags

Constructor summary

ModifierConstructor
public (RegistryWrapper$WrapperLookup delegate)

Method summary

Modifier and TypeMethod
public <T> Optional<? extends RegistryEntryLookup<T>>
lookup(ResourceKey<? extends Registry<? extends T>> key)
method_46759(class_5321<? extends class_2378<? extends T>> arg0)
getOptional(RegistryKey<? extends Registry<? extends T>> arg0)
public <V> RegistryOps<V>
createSerializationContext(com.mojang.serialization.DynamicOps<V> parent)
method_67089(com.mojang.serialization.DynamicOps<V> arg0)
createRegistryOps(com.mojang.serialization.DynamicOps<V> delegateOps)
public ContextSwapper
createSwapper()
method_67088()
createContextSwapper()
public boolean
hasRegisteredPlaceholders()
method_67090()
hasEntries()