net.minecraft.advancements.critereon

public record FishingRodHookedTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

bv$a
net.minecraft.advancements.critereon.FishingRodHookedTrigger$TriggerInstance
net.minecraft.class_2058$class_2060
net.minecraft.advancement.criterion.FishingRodHookedCriterion$Conditions
net.minecraft.src.C_1316_$C_1317_
net.minecraft.advancements.critereon.CriterionTriggerFishingRodHooked$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
f_302643_
private final Optional<ItemPredicate>
c
rod
comp_2054
rod
f_40435_
private final Optional<ContextAwarePredicate>
d
entity
comp_2055
entity
f_40436_
private final Optional<ItemPredicate>
e
item
comp_2056
item
f_40437_
public static final com.mojang.serialization.Codec<FishingRodHookedTrigger$TriggerInstance>
a
CODEC
field_47259
CODEC
f_303713_

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> playerPredicate, Optional<ItemPredicate> rod, Optional<ContextAwarePredicate> hookedEntity, Optional<ItemPredicate> caughtItem)

Method summary

Modifier and TypeMethod
public static Criterion<FishingRodHookedTrigger$TriggerInstance>
a(Optional<ca> arg0, Optional<bp> arg1, Optional<ca> arg2)
fishedItem(Optional<ItemPredicate> arg0, Optional<EntityPredicate> arg1, Optional<ItemPredicate> arg2)
method_8947(Optional<class_2073> arg0, Optional<class_2048> arg1, Optional<class_2073> arg2)
create(Optional<ItemPredicate> rod, Optional<EntityPredicate> hookedEntity, Optional<ItemPredicate> caughtItem)
m_40447_(Optional<C_1529_> p_300012_, Optional<C_1147_> p_297455_, Optional<C_1529_> p_297238_)
public boolean
a(cmy arg0, egw arg1, Collection<cmy> arg2)
matches(ItemStack arg0, LootContext arg1, Collection<ItemStack> arg2)
method_27810(class_1799 arg0, class_47 arg1, Collection<class_1799> arg2)
matches(ItemStack rodStack, LootContext hookedEntity, Collection<ItemStack> fishingLoots)
m_40443_(C_1391_ p_40445_, C_2811_ p_40446_, Collection<C_1391_> arg2)
public void
a(bc arg0)
validate(CriterionValidator arg0)
method_54938(class_8944 arg0)
validate(LootContextPredicateValidator arg0)
m_7683_(C_302068_ arg0)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
m_295156_()
public Optional<ItemPredicate>
b()
rod()
comp_2054()
rod()
f_40435_()
public Optional<ContextAwarePredicate>
c()
entity()
comp_2055()
entity()
f_40436_()
public Optional<ItemPredicate>
d()
item()
comp_2056()
item()
f_40437_()