net.minecraft.advancements.critereon

public record RaiderPredicate

implements EntitySubPredicate

dm
net.minecraft.advancements.critereon.RaiderPredicate
net.minecraft.class_9471
net.minecraft.predicate.entity.RaiderPredicate
net.minecraft.src.C_313478_
net.minecraft.advancements.critereon.RaiderPredicate

Field summary

Modifier and TypeField
private final boolean
d
hasRaid
comp_2549
hasRaid
f_315999_
private final boolean
e
isCaptain
comp_2550
isCaptain
f_315971_
public static final com.mojang.serialization.MapCodec<RaiderPredicate>
b
CODEC
field_50162
CODEC
f_314357_
public static final RaiderPredicate
c
CAPTAIN_WITHOUT_RAID
field_50163
CAPTAIN_WITHOUT_RAID
f_316933_

Constructor summary

ModifierConstructor
public (boolean isCaptain, boolean arg1)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<RaiderPredicate>
a()
codec()
method_58152()
getCodec()
m_213836_()
public boolean
a(bsw arg0, arf arg1, evt arg2)
matches(Entity arg0, ServerLevel arg1, Vec3 arg2)
method_22497(class_1297 arg0, class_3218 arg1, class_243 arg2)
test(Entity arg0, ServerWorld arg1, Vec3d arg2)
m_213868_(C_507_ p_332324_, C_12_ p_334148_, C_3046_ arg2)
public boolean
b()
hasRaid()
comp_2549()
hasRaid()
f_315999_()
public boolean
c()
isCaptain()
comp_2550()
isCaptain()
f_315971_()