net.minecraft.advancements.critereon

public record EntityEquipmentPredicate

bu
net.minecraft.advancements.critereon.EntityEquipmentPredicate
net.minecraft.class_3735
net.minecraft.predicate.entity.EntityEquipmentPredicate
net.minecraft.advancements.critereon.CriterionConditionEntityEquipment

Field summary

Modifier and TypeField
private final Optional<ItemPredicate>
b
head
comp_1750
head
private final Optional<ItemPredicate>
c
chest
comp_1751
chest
private final Optional<ItemPredicate>
d
legs
comp_1752
legs
private final Optional<ItemPredicate>
e
feet
comp_1753
feet
private final Optional<ItemPredicate>
f
body
comp_2620
body
private final Optional<ItemPredicate>
g
mainhand
comp_1754
mainhand
private final Optional<ItemPredicate>
h
offhand
comp_1755
offhand
public static final com.mojang.serialization.Codec<EntityEquipmentPredicate>
a
CODEC
field_45744
CODEC

Constructor summary

ModifierConstructor
public (Optional<ItemPredicate> arg0, Optional<ItemPredicate> arg1, Optional<ItemPredicate> arg2, Optional<ItemPredicate> arg3, Optional<ItemPredicate> arg4, Optional<ItemPredicate> arg5, Optional<ItemPredicate> arg6)

Method summary

Modifier and TypeMethod
public static EntityEquipmentPredicate
a(js<cwm> arg0, js<dtq> arg1)
captainPredicate(HolderGetter<Item> arg0, HolderGetter<BannerPattern> arg1)
method_58057(class_7871<class_1792> arg0, class_7871<class_2582> arg1)
ominousBannerOnHead(RegistryEntryLookup<Item> itemLookup, RegistryEntryLookup<BannerPattern> bannerPatternLookup)
public boolean
a(bum arg0)
matches(Entity arg0)
method_16226(class_1297 arg0)
test(Entity entity)
public Optional<ItemPredicate>
a()
head()
comp_1750()
head()
public Optional<ItemPredicate>
b()
chest()
comp_1751()
chest()
public Optional<ItemPredicate>
c()
legs()
comp_1752()
legs()
public Optional<ItemPredicate>
d()
feet()
comp_1753()
feet()
public Optional<ItemPredicate>
e()
body()
comp_2620()
body()
public Optional<ItemPredicate>
f()
mainhand()
comp_1754()
mainhand()
public Optional<ItemPredicate>
g()
offhand()
comp_1755()
offhand()