net.minecraft.advancements.critereon

public record FishingHookPredicate

implements EntitySubPredicate

ca
net.minecraft.advancements.critereon.FishingHookPredicate
net.minecraft.class_4965
net.minecraft.unmapped.C_cuxhqqlz
net.minecraft.predicate.entity.FishingHookPredicate
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
f_okhngoyi
inOpenWater
inOpenWater
f_39757_
public static final FishingHookPredicate
b
ANY
field_23137
f_wfcosvey
ALL
ANY
f_39756_
public static final com.mojang.serialization.MapCodec<FishingHookPredicate>
c
CODEC
field_45750
f_ranfviet
CODEC
CODEC
f_290569_

Constructor summary

ModifierConstructor
public (Optional<Boolean> inOpenWater)

Method summary

Modifier and TypeMethod
public static FishingHookPredicate
a(boolean arg0)
inOpenWater(boolean arg0)
method_26095(boolean arg0)
m_mtgtwnzp(boolean arg0)
of(boolean inOpenWater)
create(boolean b)
m_39766_(boolean p_39767_)
public com.mojang.serialization.MapCodec<FishingHookPredicate>
a()
codec()
method_58152()
m_vbxsicwk()
getCodec()
m_213836_()
public boolean
a(bsv arg0, arf arg1, evs arg2)
matches(Entity arg0, ServerLevel arg1, Vec3 arg2)
method_22497(class_1297 arg0, class_3218 arg1, class_243 arg2)
m_oztqyaor(C_astfners arg0, C_bdwnwhiu arg1, C_vgpupfxx arg2)
test(Entity arg0, ServerWorld arg1, Vec3d arg2)
matches(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()
m_ovwfvqhf()
inOpenWater()
inOpenWater()
f_39757_()