net.minecraft.advancements.critereon

public record RaiderPredicate

implements EntitySubPredicate

dt
net.minecraft.advancements.critereon.RaiderPredicate
net.minecraft.class_9471
net.minecraft.predicate.entity.RaiderPredicate
net.minecraft.advancements.critereon.RaiderPredicate

Field summary

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

Constructor summary

ModifierConstructor
public (boolean arg0, boolean arg1)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<RaiderPredicate>
a()
codec()
method_58152()
getCodec()
public boolean
a(bvk arg0, ash arg1, fby 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)
public boolean
b()
hasRaid()
comp_2549()
hasRaid()
public boolean
c()
isCaptain()
comp_2550()
isCaptain()