extends MappedRegistry<T> implements DefaultedRegistry<T>
All mapped superinterfaces:
WritableRegistry, Registry, IdMap, DefaultedRegistry
gy | |
net.minecraft.core.DefaultedMappedRegistry | |
net.minecraft.class_2348 | |
net.minecraft.registry.SimpleDefaultedRegistry | |
net.minecraft.src.C_256713_ | |
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 T |
| ||||||||||
public Optional<Holder$Reference<T>> |
| ||||||||||
public ResourceLocation |
|