dab | |
net.minecraft.world.item.EitherHolder | |
net.minecraft.class_9791 |
Field summary
Modifier and Type | Field | ||||||
---|---|---|---|---|---|---|---|
private final com.mojang.datafixers.util.Either<Holder<T>, ResourceKey<T>> |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (Holder<T> arg0) |
public | (ResourceKey<T> arg0) |
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>> |
|