net.minecraft.predicate

public final class ComponentPredicate

implements Predicate<ComponentMap>

ko
net.minecraft.core.component.DataComponentPredicate
net.minecraft.class_9329
net.minecraft.predicate.ComponentPredicate
net.minecraft.unmapped.C_naseleda
net.minecraft.predicate.DataComponentPredicate
net.minecraft.src.C_313761_

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<ComponentPredicate>
a
CODEC
field_49595
CODEC
f_erwtylty
CODEC
f_314199_
public static final PacketCodec<RegistryByteBuf, ComponentPredicate>
b
STREAM_CODEC
field_49596
PACKET_CODEC
f_enoyyziw
PACKET_CODEC
f_317058_
public static final ComponentPredicate
c
EMPTY
field_49597
EMPTY
f_vukipudp
EMPTY
f_314891_
private final List<Component<?>>
d
expectedComponents
field_49598
components
f_hruffpzc
components
f_316555_

Constructor summary

ModifierConstructor
(List<Component<?>> components)

Method summary

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