net.minecraft.core.component

public final class DataComponentPredicate

implements Predicate<DataComponentMap>

kk
net.minecraft.core.component.DataComponentPredicate
net.minecraft.class_9329
net.minecraft.predicate.ComponentPredicate
net.minecraft.src.C_313761_
net.minecraft.core.component.DataComponentPredicate

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<DataComponentPredicate>
a
CODEC
field_49595
CODEC
f_314199_
public static final StreamCodec<RegistryFriendlyByteBuf, DataComponentPredicate>
b
STREAM_CODEC
field_49596
PACKET_CODEC
f_317058_
public static final DataComponentPredicate
c
EMPTY
field_49597
EMPTY
f_314891_
private final List<TypedDataComponent<?>>
d
expectedComponents
field_49598
components
f_316555_

Constructor summary

ModifierConstructor
(List<TypedDataComponent<?>> components)

Method summary

Modifier and TypeMethod
public static DataComponentPredicate$Builder
a()
builder()
method_57862()
builder()
m_321115_()
public static DataComponentPredicate
a(ki arg0)
allOf(DataComponentMap arg0)
method_57865(class_9323 arg0)
of(ComponentMap components)
m_322694_(C_313470_ p_333484_)
public boolean
b(ki arg0)
test(DataComponentMap arg0)
method_57868(class_9323 arg0)
test(ComponentMap arg0)
test(C_313470_ arg0)
public boolean
a(kh arg0)
test(DataComponentHolder arg0)
method_57864(class_9322 arg0)
test(ComponentHolder holder)
m_323113_(C_313552_ arg0)
public boolean
b()
alwaysMatches()
method_57867()
isEmpty()
m_323401_()
public DataComponentPatch
c()
asPatch()
method_57870()
toChanges()
m_323520_()