net.minecraft.advancements.critereon

public record EntityEquipmentPredicate

bn
net.minecraft.advancements.critereon.EntityEquipmentPredicate
net.minecraft.class_3735
net.minecraft.predicate.entity.EntityEquipmentPredicate
net.minecraft.src.C_983_
net.minecraft.advancements.critereon.CriterionConditionEntityEquipment

Field summary

Modifier and TypeField
private final Optional<ItemPredicate>
c
head
comp_1750
head
f_32178_
private final Optional<ItemPredicate>
d
chest
comp_1751
chest
f_32179_
private final Optional<ItemPredicate>
e
legs
comp_1752
legs
f_32180_
private final Optional<ItemPredicate>
f
feet
comp_1753
feet
f_32181_
private final Optional<ItemPredicate>
g
mainhand
comp_1754
mainhand
f_32182_
private final Optional<ItemPredicate>
h
offhand
comp_1755
offhand
f_32183_
public static final com.mojang.serialization.Codec<EntityEquipmentPredicate>
a
CODEC
field_45744
CODEC
f_291230_
public static final EntityEquipmentPredicate
b
CAPTAIN
field_19240
OMINOUS_BANNER_ON_HEAD
f_32177_

Constructor summary

ModifierConstructor
public (Optional<ItemPredicate> f_32179_, Optional<ItemPredicate> f_32180_, Optional<ItemPredicate> f_32181_, Optional<ItemPredicate> f_32182_, Optional<ItemPredicate> f_32183_, Optional<ItemPredicate> arg5)

Method summary

Modifier and TypeMethod
public boolean
a(biq arg0)
matches(Entity arg0)
method_16226(class_1297 arg0)
test(Entity entity)
m_32193_(C_507_ arg0)
public Optional<ItemPredicate>
a()
head()
comp_1750()
head()
f_32178_()
public Optional<ItemPredicate>
b()
chest()
comp_1751()
chest()
f_32179_()
public Optional<ItemPredicate>
c()
legs()
comp_1752()
legs()
f_32180_()
public Optional<ItemPredicate>
d()
feet()
comp_1753()
feet()
f_32181_()
public Optional<ItemPredicate>
e()
mainhand()
comp_1754()
mainhand()
f_32182_()
public Optional<ItemPredicate>
f()
offhand()
comp_1755()
offhand()
f_32183_()