接口 DataComponentType<T>
- 所有已知实现类:
DataComponentType.Builder.SimpleType
public interface DataComponentType<T>
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明static final com.mojang.serialization.Codec
<DataComponentType<?>> static final com.mojang.serialization.Codec
<DataComponentType<?>> static final StreamCodec
<RegistryFriendlyByteBuf, DataComponentType<?>> static final com.mojang.serialization.Codec
<Map<DataComponentType<?>, Object>> -
方法概要
修饰符和类型方法说明static <T> DataComponentType.Builder
<T> builder()
com.mojang.serialization.Codec
<T> codec()
default com.mojang.serialization.Codec
<T> default boolean
StreamCodec
<? super RegistryFriendlyByteBuf, T>
-
字段详细资料
-
CODEC
-
STREAM_CODEC
-
PERSISTENT_CODEC
-
VALUE_MAP_CODEC
-
-
方法详细资料
-
builder
-
codec
-
codecOrThrow
-
isTransient
default boolean isTransient() -
streamCodec
StreamCodec<? super RegistryFriendlyByteBuf,T> streamCodec()
-