cyo | |
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<Holder<T>, ResourceKey<T>> |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (Holder<T> entry) |
public | (ResourceKey<T> key) |
public | (com.mojang.datafixers.util.Either<Holder<T>, ResourceKey<T>> arg0) |
Method summary
Modifier and Type | Method | ||||||||
---|---|---|---|---|---|---|---|---|---|
public static <T> com.mojang.serialization.Codec<EitherHolder<T>> |
| ||||||||
public static <T> StreamCodec<RegistryFriendlyByteBuf, EitherHolder<T>> |
| ||||||||
public Optional<T> |
| ||||||||
public Optional<Holder<T>> |
| ||||||||
public Optional<ResourceKey<T>> |
| ||||||||
public com.mojang.datafixers.util.Either<Holder<T>, ResourceKey<T>> |
|