| net.minecraft.world.item.EitherHolder | |
| net.minecraft.class_9791 | |
| net.minecraft.registry.entry.LazyRegistryEntryReference |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| private final com.mojang.datafixers.util.Either<RegistryEntry<T>, RegistryKey<T>> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (RegistryEntry<T> entry) |
| public | (RegistryKey<T> key) |
| public | (com.mojang.datafixers.util.Either<RegistryEntry<T>, RegistryKey<T>> contents) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| public static <T> com.mojang.serialization.Codec<LazyRegistryEntryReference<T>> |
|
||||||
| public static <T> PacketCodec<RegistryByteBuf, LazyRegistryEntryReference<T>> |
|
||||||
| public Optional<T> |
|
||||||
| public Optional<RegistryEntry<T>> |
|
||||||
| public Optional<RegistryKey<T>> |
|
||||||
| public com.mojang.datafixers.util.Either<RegistryEntry<T>, RegistryKey<T>> |
|
||||||
| private static Optional |
|
||||||
| private static RegistryEntry |
|
||||||
| private static Optional |
|
||||||
| private static com.mojang.serialization.DataResult |
|
||||||
| private static String |
|