net.minecraft.core.component

public interface DataComponentMap

extends Iterable<TypedDataComponent<?>>, DataComponentGetter

kg
net.minecraft.core.component.DataComponentMap
net.minecraft.class_9323
net.minecraft.component.ComponentMap

Field summary

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

Method summary

Modifier and TypeMethod
static com.mojang.serialization.Codec<DataComponentMap>
a(com.mojang.serialization.Codec<ki<?>> arg0)
makeCodec(com.mojang.serialization.Codec<DataComponentType<?>> arg0)
method_60386(com.mojang.serialization.Codec<class_9331<?>> arg0)
createCodec(com.mojang.serialization.Codec<ComponentType<?>> componentTypeCodec)
static com.mojang.serialization.Codec<DataComponentMap>
b(com.mojang.serialization.Codec<Map<ki<?>, Object>> arg0)
makeCodecFromMap(com.mojang.serialization.Codec<Map<DataComponentType<?>, Object>> arg0)
method_60388(com.mojang.serialization.Codec<Map<class_9331<?>, Object>> arg0)
createCodecFromValueMap(com.mojang.serialization.Codec<Map<ComponentType<?>, Object>> typeToValueMapCodec)
static DataComponentMap
a(kg arg0, kg arg1)
composite(DataComponentMap arg0, DataComponentMap arg1)
method_59771(class_9323 arg0, class_9323 arg1)
of(ComponentMap base, ComponentMap overrides)
static DataComponentMap$Builder
a()
builder()
method_57827()
builder()
Set<DataComponentType<?>>
b()
keySet()
method_57831()
getTypes()
default boolean
c(ki<?> arg0)
has(DataComponentType<?> arg0)
method_57832(class_9331<?> arg0)
contains(ComponentType<?> type)
default Iterator<TypedDataComponent<?>>
iterator()
iterator()
default Stream<TypedDataComponent<?>>
c()
stream()
method_57833()
stream()
default int
d()
size()
method_57835()
size()
default boolean
e()
isEmpty()
method_57837()
isEmpty()
default DataComponentMap
a(Predicate<ki<?>> arg0)
filter(Predicate<DataComponentType<?>> arg0)
method_57828(Predicate<class_9331<?>> arg0)
filtered(Predicate<ComponentType<?>> predicate)