net.minecraft.core.component

public final class DataComponentPredicate

implements Predicate<DataComponentMap>

kk
net.minecraft.core.component.DataComponentPredicate
net.minecraft.class_9329
net.minecraft.unmapped.C_naseleda
net.minecraft.predicate.ComponentPredicate
net.minecraft.predicate.DataComponentPredicate
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
f_erwtylty
CODEC
CODEC
f_314199_
public static final StreamCodec<RegistryFriendlyByteBuf, DataComponentPredicate>
b
STREAM_CODEC
field_49596
f_enoyyziw
PACKET_CODEC
PACKET_CODEC
f_317058_
public static final DataComponentPredicate
c
EMPTY
field_49597
f_vukipudp
EMPTY
EMPTY
f_314891_
private final List<TypedDataComponent<?>>
d
expectedComponents
field_49598
f_hruffpzc
components
components
f_316555_

Constructor summary

ModifierConstructor
(List<TypedDataComponent<?>> components)

Method summary

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