net.minecraft.registry

class ContextSwappableRegistryLookup$EntryLookupImpl

implements RegistryEntryLookup<Object>, RegistryEntryOwner<Object>

net.minecraft.util.PlaceholderLookupProvider$UniversalLookup
net.minecraft.class_10676$class_10677
net.minecraft.registry.ContextSwappableRegistryLookup$EntryLookupImpl

Field summary

Modifier and TypeField
final ContextSwappableRegistryLookup
this$0
field_56250
field_56250

Constructor summary

ModifierConstructor
private (ContextSwappableRegistryLookup this$0)

Method summary

Modifier and TypeMethod
public Optional<RegistryEntry$Reference<Object>>
get(ResourceKey<Object> id)
method_46746(class_5321<Object> arg0)
getOptional(RegistryKey<Object> arg0)
public RegistryEntry$Reference<Object>
getOrThrow(ResourceKey<Object> id)
method_46747(class_5321<Object> arg0)
getOrThrow(RegistryKey<Object> arg0)
private RegistryEntry$Reference<Object>
getOrCreate(ResourceKey<Object> id)
method_67096(class_5321<Object> arg0)
getOrComputeEntry(RegistryKey<Object> key)
public Optional<RegistryEntryList$Named<Object>>
get(TagKey<Object> id)
method_46733(class_6862<Object> arg0)
getOptional(TagKey<Object> arg0)
public RegistryEntryList$Named<Object>
getOrThrow(TagKey<Object> id)
method_46735(class_6862<Object> arg0)
getOrThrow(TagKey<Object> arg0)
private RegistryEntryList$Named<Object>
getOrCreate(TagKey<Object> id)
method_67097(class_6862<Object> arg0)
getOrComputeTag(TagKey<Object> tag)
public <T> RegistryEntryLookup<T>
castAsLookup()
method_67094()
asEntryLookup()
public <T> RegistryEntryOwner<T>
castAsOwner()
method_67095()
asEntryOwner()
private RegistryEntryList$Named
lambda$getOrCreate$1(TagKey arg0)
method_67099(class_6862 arg0)
method_67099(TagKey tagKey)
private RegistryEntry$Reference
lambda$getOrCreate$0(ResourceKey arg0)
method_67098(class_5321 arg0)
method_67098(RegistryKey key2)