History - net.minecraft.core.component.TypedDataComponent

1.21

Names

ko

ks

Fields

Constructors

Methods

1.20.6

Names

Fields

Constructors

Methods

1.20.5

Names

ko

net.minecraft.core.component.TypedDataComponent

net.minecraft.class_9336

net.minecraft.unmapped.C_qkjwbfhx

net.minecraft.component.Component

net.minecraft.component.DataComponent

net.minecraft.src.C_313445_

net.minecraft.core.component.TypedDataComponent

Fields

DataComponentType<T>: b, type, comp_2443, f_dmjlqapz, type, type, f_316611_

T: c, value, comp_2444, f_ojshbsoq, value, value, f_314804_

StreamCodec<RegistryFriendlyByteBuf, TypedDataComponent<?>>: a, STREAM_CODEC, field_49657, f_kzwzfqbn, PACKET_CODEC, PACKET_CODEC, f_315130_

Constructors

(DataComponentType<T>, T)

Methods

TypedDataComponent<?> (Map$Entry<DataComponentType<?>, Object>): a, fromEntryUnchecked, method_57944, m_ghmvhwvz, of, create, m_322622_

<T> TypedDataComponent<T> (DataComponentType<T>, Object): a, createUnchecked, method_57945, m_lwsakcbf, of, create, m_321971_

void (PatchedDataComponentMap): a, applyTo, method_57946, m_wdaivxti, apply, applyTo, m_324030_

<D> com.mojang.serialization.DataResult<D> (com.mojang.serialization.DynamicOps<D>): a, encodeValue, method_57943, m_fhpcixsw, encode, encodeValue, m_318908_

DataComponentType<T> (): a, type, comp_2443, m_xvqwgrbp, type, type, f_316611_

T (): b, value, comp_2444, m_zcbfmpbg, value, value, f_314804_