Class LightningStrikeCriterion.Conditions

java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.LightningStrikeCriterion.Conditions
All Implemented Interfaces:
CriterionConditions
Enclosing class:
LightningStrikeCriterion

public static class LightningStrikeCriterion.Conditions extends AbstractCriterionConditions
Mappings:
Namespace Name
official cg$a
intermediary net/minecraft/class_6405$class_6406
named net/minecraft/advancement/criterion/LightningStrikeCriterion$Conditions
  • Field Details

    • lightning

      private final EntityPredicate.Extended lightning
      Mappings:
      Namespace Name Mixin selector
      official a Lcg$a;a:Lbo$b;
      intermediary field_33926 Lnet/minecraft/class_6405$class_6406;field_33926:Lnet/minecraft/class_2048$class_5258;
      named lightning Lnet/minecraft/advancement/criterion/LightningStrikeCriterion$Conditions;lightning:Lnet/minecraft/predicate/entity/EntityPredicate$Extended;
    • bystander

      private final EntityPredicate.Extended bystander
      Mappings:
      Namespace Name Mixin selector
      official b Lcg$a;b:Lbo$b;
      intermediary field_33927 Lnet/minecraft/class_6405$class_6406;field_33927:Lnet/minecraft/class_2048$class_5258;
      named bystander Lnet/minecraft/advancement/criterion/LightningStrikeCriterion$Conditions;bystander:Lnet/minecraft/predicate/entity/EntityPredicate$Extended;
  • Constructor Details

    • Conditions

      public Conditions(EntityPredicate.Extended player, EntityPredicate.Extended lightning, EntityPredicate.Extended bystander)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcg$a;<init>(Lbo$b;Lbo$b;Lbo$b;)V
      intermediary <init> Lnet/minecraft/class_6405$class_6406;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2048$class_5258;)V
      named <init> Lnet/minecraft/advancement/criterion/LightningStrikeCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;)V
  • Method Details

    • create

      public static LightningStrikeCriterion.Conditions create(EntityPredicate lightning, EntityPredicate bystander)
      Mappings:
      Namespace Name Mixin selector
      official a Lcg$a;a(Lbo;Lbo;)Lcg$a;
      intermediary method_37243 Lnet/minecraft/class_6405$class_6406;method_37243(Lnet/minecraft/class_2048;Lnet/minecraft/class_2048;)Lnet/minecraft/class_6405$class_6406;
      named create Lnet/minecraft/advancement/criterion/LightningStrikeCriterion$Conditions;create(Lnet/minecraft/predicate/entity/EntityPredicate;Lnet/minecraft/predicate/entity/EntityPredicate;)Lnet/minecraft/advancement/criterion/LightningStrikeCriterion$Conditions;
    • test

      public boolean test(LootContext lightning, List<LootContext> bystanders)
      Mappings:
      Namespace Name Mixin selector
      official a Lcg$a;a(Ldsd;Ljava/util/List;)Z
      intermediary method_37244 Lnet/minecraft/class_6405$class_6406;method_37244(Lnet/minecraft/class_47;Ljava/util/List;)Z
      named test Lnet/minecraft/advancement/criterion/LightningStrikeCriterion$Conditions;test(Lnet/minecraft/loot/context/LootContext;Ljava/util/List;)Z
    • toJson

      public JsonObject toJson(AdvancementEntityPredicateSerializer predicateSerializer)
      Specified by:
      toJson in interface CriterionConditions
      Overrides:
      toJson in class AbstractCriterionConditions
      Mappings:
      Namespace Name Mixin selector
      official a Lan;a(Lct;)Lcom/google/gson/JsonObject;
      intermediary method_807 Lnet/minecraft/class_184;method_807(Lnet/minecraft/class_5267;)Lcom/google/gson/JsonObject;
      named toJson Lnet/minecraft/advancement/criterion/CriterionConditions;toJson(Lnet/minecraft/predicate/entity/AdvancementEntityPredicateSerializer;)Lcom/google/gson/JsonObject;