extends SimpleRegistry<T> implements DefaultedRegistry<T>
All mapped superinterfaces:
MutableRegistry, Registry, IndexedIterable, RegistryWrapper$Impl, RegistryWrapper, RegistryEntryLookup, RegistryEntryOwner, DefaultedRegistry
| net.minecraft.core.DefaultedMappedRegistry | |
| net.minecraft.class_2348 | |
| net.minecraft.registry.SimpleDefaultedRegistry |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| private final Identifier |
|
||||||
| private RegistryEntry$Reference<T> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (String defaultId, RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, boolean intrusive) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| public RegistryEntry$Reference<T> |
|
||||||
| public int |
|
||||||
| public Identifier |
|
||||||
| public T |
|
||||||
| public Optional<T> |
|
||||||
| public Optional<RegistryEntry$Reference<T>> |
|
||||||
| public T |
|
||||||
| public Optional<RegistryEntry$Reference<T>> |
|
||||||
| public Identifier |
|
||||||
| private Optional |
|