net.minecraft.core.component

public interface DataComponentMap

extends Iterable<TypedDataComponent<?>>

km
net.minecraft.core.component.DataComponentMap
net.minecraft.class_9323
net.minecraft.unmapped.C_kouhnfig
net.minecraft.component.ComponentMap
net.minecraft.component.DataComponentMap
net.minecraft.src.C_313470_
net.minecraft.core.component.DataComponentMap

Field summary

Modifier and TypeField
DataComponentMap
a
EMPTY
field_49584
f_lzueiati
EMPTY
EMPTY
f_314291_
com.mojang.serialization.Codec<DataComponentMap>
b
CODEC
field_50234
f_aavxozts
CODEC
CODEC
f_315283_

Method summary

Modifier and TypeMethod
static com.mojang.serialization.Codec<DataComponentMap>
a(com.mojang.serialization.Codec<kp<?>> arg0)
makeCodec(com.mojang.serialization.Codec<DataComponentType<?>> arg0)
method_60386(com.mojang.serialization.Codec<class_9331<?>> arg0)
m_ekmjmlcn(com.mojang.serialization.Codec<C_pscqxfcs<?>> arg0)
createCodec(com.mojang.serialization.Codec<ComponentType<?>> componentTypeCodec)
m_ekmjmlcn(com.mojang.serialization.Codec<DataComponentType<?>> codec)
m_338433_(com.mojang.serialization.Codec<C_313543_<?>> p_343101_)
static com.mojang.serialization.Codec<DataComponentMap>
b(com.mojang.serialization.Codec<Map<kp<?>, Object>> arg0)
makeCodecFromMap(com.mojang.serialization.Codec<Map<DataComponentType<?>, Object>> arg0)
method_60388(com.mojang.serialization.Codec<Map<class_9331<?>, Object>> arg0)
m_zyosenbv(com.mojang.serialization.Codec<Map<C_pscqxfcs<?>, Object>> arg0)
createCodecFromValueMap(com.mojang.serialization.Codec<Map<ComponentType<?>, Object>> typeToValueMapCodec)
m_zyosenbv(com.mojang.serialization.Codec<Map<DataComponentType<?>, Object>> codec)
m_339363_(com.mojang.serialization.Codec<Map<C_313543_<?>, Object>> p_343378_)
static DataComponentMap
a(km arg0, km arg1)
composite(DataComponentMap arg0, DataComponentMap arg1)
method_59771(class_9323 arg0, class_9323 arg1)
m_vbomrwat(C_kouhnfig arg0, C_kouhnfig arg1)
of(ComponentMap base, ComponentMap overrides)
of(DataComponentMap fallback, DataComponentMap base)
m_319349_(C_313470_ p_329885_, C_313470_ p_330534_)
static DataComponentMap$Builder
a()
builder()
method_57827()
m_invvxtoq()
builder()
builder()
m_323371_()
<T> T
a(kp<? extends T> arg0)
get(DataComponentType<? extends T> arg0)
method_57829(class_9331<? extends T> arg0)
m_ryahtcyv(C_pscqxfcs<? extends T> arg0)
get(ComponentType<? extends T> type)
get(DataComponentType<? extends T> type)
m_318834_(C_313543_<? extends T> arg0)
Set<DataComponentType<?>>
b()
keySet()
method_57831()
m_necyzwbs()
getTypes()
getKeys()
m_319675_()
default boolean
b(kp<?> arg0)
has(DataComponentType<?> arg0)
method_57832(class_9331<?> arg0)
m_cqycvonb(C_pscqxfcs<?> arg0)
contains(ComponentType<?> type)
contains(DataComponentType<?> type)
m_321946_(C_313543_<?> arg0)
default <T> T
a(kp<? extends T> arg0, T arg1)
getOrDefault(DataComponentType<? extends T> arg0, T arg1)
method_57830(class_9331<? extends T> arg0, T arg1)
m_ueulfbom(C_pscqxfcs<? extends T> arg0, T arg1)
getOrDefault(ComponentType<? extends T> type, T fallback)
getOrDefault(DataComponentType<? extends T> type, T defaultValue)
m_322806_(C_313543_<? extends T> p_334477_, T arg1)
default <T> TypedDataComponent<T>
c(kp<T> arg0)
getTyped(DataComponentType<T> arg0)
method_57834(class_9331<T> arg0)
m_tsvdhilo(C_pscqxfcs<T> arg0)
copy(ComponentType<T> type)
getTyped(DataComponentType<T> type)
m_319453_(C_313543_<T> arg0)
default Iterator<TypedDataComponent<?>>
iterator()
iterator()
iterator()
default Stream<TypedDataComponent<?>>
c()
stream()
method_57833()
m_qpbbhvpw()
stream()
stream()
m_322172_()
default int
d()
size()
method_57835()
m_ekwvemme()
size()
size()
m_319491_()
default boolean
e()
isEmpty()
method_57837()
m_rqdfnawl()
isEmpty()
isEmpty()
m_323714_()
default DataComponentMap
a(Predicate<kp<?>> arg0)
filter(Predicate<DataComponentType<?>> arg0)
method_57828(Predicate<class_9331<?>> arg0)
m_jiswgnde(Predicate<C_pscqxfcs<?>> arg0)
filtered(Predicate<ComponentType<?>> predicate)
filter(Predicate<DataComponentType<?>> predicate)
m_322426_(Predicate<C_313543_<?>> arg0)