net.minecraft.advancements.critereon

public record FishingRodHookedTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

ce$a
net.minecraft.advancements.critereon.FishingRodHookedTrigger$TriggerInstance
net.minecraft.class_2058$class_2060
net.minecraft.advancement.criterion.FishingRodHookedCriterion$Conditions
net.minecraft.advancements.critereon.CriterionTriggerFishingRodHooked$a

Field summary

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

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<cv> arg0, Optional<bx> arg1, Optional<cv> 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)
public boolean
a(cwq arg0, evs arg1, Collection<cwq> 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)
public void
a(bj arg0)
validate(CriterionValidator arg0)
method_54938(class_8944 arg0)
validate(LootContextPredicateValidator arg0)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
public Optional<ItemPredicate>
b()
rod()
comp_2054()
rod()
public Optional<ContextAwarePredicate>
c()
entity()
comp_2055()
entity()
public Optional<ItemPredicate>
d()
item()
comp_2056()
item()