net.minecraft.core.component

public interface DataComponentMap

extends Iterable<TypedDataComponent<?>>

ki
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 DataComponentMap
a(ki arg0, ki 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(kl<? extends T> arg0)
get(DataComponentType<? extends T> arg0)
method_57829(class_9331<? extends T> arg0)
m_ryahtcyv(C_pscqxfcs<? extends T> arg0)
get(DataComponentType<? 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(kl<?> arg0)
has(DataComponentType<?> arg0)
method_57832(class_9331<?> arg0)
m_cqycvonb(C_pscqxfcs<?> arg0)
contains(DataComponentType<?> type)
contains(DataComponentType<?> type)
m_321946_(C_313543_<?> arg0)
default <T> T
a(kl<? 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(DataComponentType<? 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(kl<T> arg0)
getTyped(DataComponentType<T> arg0)
method_57834(class_9331<T> arg0)
m_tsvdhilo(C_pscqxfcs<T> arg0)
copy(DataComponentType<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<kl<?>> arg0)
filter(Predicate<DataComponentType<?>> arg0)
method_57828(Predicate<class_9331<?>> arg0)
m_jiswgnde(Predicate<C_pscqxfcs<?>> arg0)
filtered(Predicate<DataComponentType<?>> predicate)
filter(Predicate<DataComponentType<?>> predicate)
m_322426_(Predicate<C_313543_<?>> arg0)