extends MappedRegistry<T> implements DefaultedRegistry<T>
All mapped superinterfaces:
WritableRegistry, Registry, HolderLookup$RegistryLookup, HolderLookup, HolderGetter, HolderOwner, IdMap, DefaultedRegistry
jl | |
net.minecraft.core.DefaultedMappedRegistry | |
net.minecraft.class_2348 | |
net.minecraft.registry.SimpleDefaultedRegistry | |
net.minecraft.core.DefaultedMappedRegistry |
Field summary
Modifier and Type | Field | ||||||||
---|---|---|---|---|---|---|---|---|---|
private final ResourceLocation |
| ||||||||
private Holder$Reference<T> |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (String defaultId, ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, boolean intrusive) |
Method summary
Modifier and Type | Method | ||||||||
---|---|---|---|---|---|---|---|---|---|
public Holder$Reference<T> |
| ||||||||
public int |
| ||||||||
public ResourceLocation |
| ||||||||
public T |
| ||||||||
public Optional<T> |
| ||||||||
public Optional<Holder$Reference<T>> |
| ||||||||
public T |
| ||||||||
public Optional<Holder$Reference<T>> |
| ||||||||
public ResourceLocation |
|