net.minecraft.advancements.critereon

public record FishingHookPredicate

implements EntitySubPredicate

cd
net.minecraft.advancements.critereon.FishingHookPredicate
net.minecraft.class_4965
net.minecraft.predicate.entity.FishingHookPredicate
net.minecraft.advancements.critereon.CriterionConditionInOpenWater

Field summary

Modifier and TypeField
private final Optional<Boolean>
d
inOpenWater
comp_1779
inOpenWater
public static final FishingHookPredicate
b
ANY
field_23137
ALL
public static final com.mojang.serialization.MapCodec<FishingHookPredicate>
c
CODEC
field_45750
CODEC

Constructor summary

ModifierConstructor
public (Optional<Boolean> arg0)

Method summary

Modifier and TypeMethod
public static FishingHookPredicate
a(boolean arg0)
inOpenWater(boolean arg0)
method_26095(boolean arg0)
of(boolean inOpenWater)
public com.mojang.serialization.MapCodec<FishingHookPredicate>
a()
codec()
method_58152()
getCodec()
public boolean
a(bum arg0, ard arg1, fbb 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 Optional<Boolean>
b()
inOpenWater()
comp_1779()
inOpenWater()