extends MappedRegistry<T>
All mapped superinterfaces:
gn | |
net.minecraft.core.DefaultedRegistry | |
net.minecraft.class_2348 | |
net.minecraft.util.registry.DefaultedRegistry | |
net.minecraft.src.C_4686_ | |
net.minecraft.core.RegistryBlocks |
Field summary
Modifier and Type | Field | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
private final ResourceLocation |
| ||||||||||
private Holder<T> |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (String defaultId, ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, Function<T, Holder$Reference<T>> valueToEntryFunction) |
Method summary
Modifier and Type | Method | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public Holder<T> |
| ||||||||||
public int |
| ||||||||||
public ResourceLocation |
| ||||||||||
public T |
| ||||||||||
public Optional<T> |
| ||||||||||
public T |
| ||||||||||
public Optional<Holder<T>> |
| ||||||||||
public ResourceLocation |
|