历史 - net.minecraft.core.component.PatchedDataComponentMap

1.21.11

名称

kq

kj

字段

构造函数

方法

1.21.10

名称

字段

构造函数

方法

1.21.9

名称

kr

kq

字段

构造函数

方法

<T> T (TypedDataComponent<T>): a, set, method_74942, set, m_416519_

1.21.8

名称

字段

构造函数

方法

1.21.7

名称

字段

构造函数

方法

1.21.6

名称

km

kr

字段

构造函数

方法

1.21.5

名称

kw

km

字段

构造函数

方法

<T> T (DataComponentType<? extends T>): a, get, method_57829, get, m_318834_

<T> T (DataComponentType<? extends T>): a, get, method_58694, get, m_318834_

1.21.4

名称

kv

kw

字段

构造函数

方法

<T> T (DataComponentType<? extends T>): d, remove, method_57939, remove, m_321460_

<T> T (DataComponentType<? extends T>): e, remove, method_57939, remove, m_321460_

void (): i, ensureMapOwnership, method_57942, onWrite, m_322433_

void (): j, ensureMapOwnership, method_57942, onWrite, m_322433_

boolean (DataComponentType<?>): d, hasNonDefault, method_65890, hasChanged, m_373812_

DataComponentMap (): i, toImmutableMap, method_65769, immutableCopy, m_373186_

1.21.3

名称

kr

kv

net.minecraft.component.ComponentMapImpl

net.minecraft.component.MergedComponentMap

字段

构造函数

方法

void (): h, ensureMapOwnership, method_57942, onWrite, m_322433_

void (): i, ensureMapOwnership, method_57942, onWrite, m_322433_

DataComponentPatch (): f, asPatch, method_57940, getChanges, m_320212_

DataComponentPatch (): g, asPatch, method_57940, getChanges, m_320212_

PatchedDataComponentMap (): g, copy, method_57941, copy, m_319920_

PatchedDataComponentMap (): h, copy, method_57941, copy, m_319920_

void (): f, clearPatch, method_62714, clearChanges, m_354489_

1.21.1

名称

字段

构造函数

方法

1.21

名称

kn

kr

字段

构造函数

方法

1.20.6

名称

kn

net.minecraft.core.component.PatchedDataComponentMap

net.minecraft.class_9335

net.minecraft.component.ComponentMapImpl

net.minecraft.src.C_313555_

net.minecraft.core.component.PatchedDataComponentMap

字段

DataComponentMap: c, prototype, field_49654, baseComponents, f_316296_

it.unimi.dsi.fastutil.objects.Reference2ObjectMap<DataComponentType<?>, Optional<?>>: d, patch, field_49655, changedComponents, f_315990_

boolean: e, copyOnWrite, field_49656, copyOnWrite, f_316660_

构造函数

(DataComponentMap)

(DataComponentMap, it.unimi.dsi.fastutil.objects.Reference2ObjectMap<DataComponentType<?>, Optional<?>>, boolean)

方法

PatchedDataComponentMap (DataComponentMap, DataComponentPatch): a, fromPatch, method_57935, create, m_322493_

boolean (DataComponentMap, it.unimi.dsi.fastutil.objects.Reference2ObjectMap<DataComponentType<?>, Optional<?>>): a, isPatchSanitized, method_57934, shouldReuseChangesMap, m_323581_

<T> T (DataComponentType<? extends T>): a, get, method_57829, get, m_318834_

<T> T (DataComponentType<? super T>, T): b, set, method_57938, set, m_322371_

<T> T (DataComponentType<? extends T>): d, remove, method_57939, remove, m_321460_

void (DataComponentPatch): a, applyPatch, method_57936, applyChanges, m_320975_

void (DataComponentType<?>, Optional<?>): a, applyPatch, method_57937, applyChange, m_318645_

void (DataComponentPatch): b, restorePatch, method_59772, setChanges, m_324830_

void (DataComponentMap): a, setAll, method_57933, setAll, m_324935_

void (): h, ensureMapOwnership, method_57942, onWrite, m_322433_

Set<DataComponentType<?>> (): b, keySet, method_57831, getTypes, m_319675_

Iterator<TypedDataComponent<?>> (): iterator, iterator, iterator

int (): d, size, method_57835, size, m_319491_

DataComponentPatch (): f, asPatch, method_57940, getChanges, m_320212_

PatchedDataComponentMap (): g, copy, method_57941, copy, m_319920_