net.minecraft.advancements.critereon

public record EntityEquipmentPredicate

bs
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>
b
head
comp_1750
head
f_32178_
private final Optional<ItemPredicate>
c
chest
comp_1751
chest
f_32179_
private final Optional<ItemPredicate>
d
legs
comp_1752
legs
f_32180_
private final Optional<ItemPredicate>
e
feet
comp_1753
feet
f_32181_
private final Optional<ItemPredicate>
f
body
comp_2620
body
f_314360_
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_

Constructor summary

ModifierConstructor
public (Optional<ItemPredicate> chest, Optional<ItemPredicate> legs, Optional<ItemPredicate> feet, Optional<ItemPredicate> body, Optional<ItemPredicate> mainhand, Optional<ItemPredicate> offhand, Optional<ItemPredicate> arg6)

Method summary

Modifier and TypeMethod
public static EntityEquipmentPredicate
a(jn<dpx> arg0)
captainPredicate(HolderGetter<BannerPattern> arg0)
method_58057(class_7871<class_2582> arg0)
ominousBannerOnHead(RegistryEntryLookup<BannerPattern> bannerPatternLookup)
m_322698_(C_254583_<C_1977_> p_330893_)
public boolean
a(bsr 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()
body()
comp_2620()
body()
f_314360_()
public Optional<ItemPredicate>
f()
mainhand()
comp_1754()
mainhand()
f_32182_()
public Optional<ItemPredicate>
g()
offhand()
comp_1755()
offhand()
f_32183_()