net.minecraft.advancements.critereon

public record LightningStrikeTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

dh$a
net.minecraft.advancements.critereon.LightningStrikeTrigger$TriggerInstance
net.minecraft.class_6405$class_6406
net.minecraft.advancement.criterion.LightningStrikeCriterion$Conditions
net.minecraft.advancements.critereon.LightningStrikeTrigger$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
private final Optional<ContextAwarePredicate>
c
lightning
comp_2072
lightning
private final Optional<ContextAwarePredicate>
d
bystander
comp_2073
bystander
public static final com.mojang.serialization.Codec<LightningStrikeTrigger$TriggerInstance>
a
CODEC
field_47306
CODEC

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> playerPredicate, Optional<ContextAwarePredicate> lightning, Optional<ContextAwarePredicate> bystander)

Method summary

Modifier and TypeMethod
public static Criterion<LightningStrikeTrigger$TriggerInstance>
a(Optional<bx> arg0, Optional<bx> arg1)
lightningStrike(Optional<EntityPredicate> arg0, Optional<EntityPredicate> arg1)
method_37243(Optional<class_2048> arg0, Optional<class_2048> arg1)
create(Optional<EntityPredicate> lightning, Optional<EntityPredicate> bystander)
public boolean
a(evs arg0, List<evs> arg1)
matches(LootContext arg0, List<LootContext> arg1)
method_37244(class_47 arg0, List<class_47> arg1)
test(LootContext lightning, List<LootContext> bystanders)
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<ContextAwarePredicate>
b()
lightning()
comp_2072()
lightning()
public Optional<ContextAwarePredicate>
c()
bystander()
comp_2073()
bystander()