net.minecraft.advancements.critereon

public record FishingHookPredicate

implements EntitySubPredicate

bv
net.minecraft.advancements.critereon.FishingHookPredicate
net.minecraft.class_4965
net.minecraft.predicate.entity.FishingHookPredicate
net.minecraft.src.C_1277_
net.minecraft.advancements.critereon.CriterionConditionInOpenWater

Field summary

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

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)
m_39766_(boolean p_39767_)
public EntitySubPredicate$Type
a()
type()
comp_1776()
type()
m_213836_()
public boolean
a(biq arg0, akq arg1, ehn 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_219717_, C_12_ p_219718_, C_3046_ arg2)
public Optional<Boolean>
b()
inOpenWater()
comp_1779()
inOpenWater()
f_39757_()