Class LocationArrivalCriterion.Conditions

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

public static class LocationArrivalCriterion.Conditions extends AbstractCriterionConditions
Mappings:
Namespace Name
official cf$a
intermediary net/minecraft/class_2092$class_2094
named net/minecraft/advancement/criterion/LocationArrivalCriterion$Conditions
  • Field Details

    • location

      private final LocationPredicate location
      Mappings:
      Namespace Name Mixin selector
      official a Lcf$a;a:Lce;
      intermediary field_9698 Lnet/minecraft/class_2092$class_2094;field_9698:Lnet/minecraft/class_2090;
      named location Lnet/minecraft/advancement/criterion/LocationArrivalCriterion$Conditions;location:Lnet/minecraft/predicate/entity/LocationPredicate;
  • Constructor Details

    • Conditions

      public Conditions(Identifier id, EntityPredicate.Extended player, LocationPredicate location)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcf$a;<init>(Lww;Lbm$b;Lce;)V
      intermediary <init> Lnet/minecraft/class_2092$class_2094;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2090;)V
      named <init> Lnet/minecraft/advancement/criterion/LocationArrivalCriterion$Conditions;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/LocationPredicate;)V
  • Method Details

    • create

      public static LocationArrivalCriterion.Conditions create(LocationPredicate location)
      Mappings:
      Namespace Name Mixin selector
      official a Lcf$a;a(Lce;)Lcf$a;
      intermediary method_9034 Lnet/minecraft/class_2092$class_2094;method_9034(Lnet/minecraft/class_2090;)Lnet/minecraft/class_2092$class_2094;
      named create Lnet/minecraft/advancement/criterion/LocationArrivalCriterion$Conditions;create(Lnet/minecraft/predicate/entity/LocationPredicate;)Lnet/minecraft/advancement/criterion/LocationArrivalCriterion$Conditions;
    • method_37245

      public static LocationArrivalCriterion.Conditions method_37245(EntityPredicate entityPredicate)
      Mappings:
      Namespace Name Mixin selector
      official a Lcf$a;a(Lbm;)Lcf$a;
      intermediary method_37245 Lnet/minecraft/class_2092$class_2094;method_37245(Lnet/minecraft/class_2048;)Lnet/minecraft/class_2092$class_2094;
      named method_37245 Lnet/minecraft/advancement/criterion/LocationArrivalCriterion$Conditions;method_37245(Lnet/minecraft/predicate/entity/EntityPredicate;)Lnet/minecraft/advancement/criterion/LocationArrivalCriterion$Conditions;
    • createSleptInBed

      public static LocationArrivalCriterion.Conditions createSleptInBed()
      Mappings:
      Namespace Name Mixin selector
      official c Lcf$a;c()Lcf$a;
      intermediary method_9032 Lnet/minecraft/class_2092$class_2094;method_9032()Lnet/minecraft/class_2092$class_2094;
      named createSleptInBed Lnet/minecraft/advancement/criterion/LocationArrivalCriterion$Conditions;createSleptInBed()Lnet/minecraft/advancement/criterion/LocationArrivalCriterion$Conditions;
    • createHeroOfTheVillage

      public static LocationArrivalCriterion.Conditions createHeroOfTheVillage()
      Mappings:
      Namespace Name Mixin selector
      official d Lcf$a;d()Lcf$a;
      intermediary method_20400 Lnet/minecraft/class_2092$class_2094;method_20400()Lnet/minecraft/class_2092$class_2094;
      named createHeroOfTheVillage Lnet/minecraft/advancement/criterion/LocationArrivalCriterion$Conditions;createHeroOfTheVillage()Lnet/minecraft/advancement/criterion/LocationArrivalCriterion$Conditions;
    • method_37246

      public static LocationArrivalCriterion.Conditions method_37246(Block block, Item item)
      Mappings:
      Namespace Name Mixin selector
      official a Lcf$a;a(Lbzo;Lbql;)Lcf$a;
      intermediary method_37246 Lnet/minecraft/class_2092$class_2094;method_37246(Lnet/minecraft/class_2248;Lnet/minecraft/class_1792;)Lnet/minecraft/class_2092$class_2094;
      named method_37246 Lnet/minecraft/advancement/criterion/LocationArrivalCriterion$Conditions;method_37246(Lnet/minecraft/block/Block;Lnet/minecraft/item/Item;)Lnet/minecraft/advancement/criterion/LocationArrivalCriterion$Conditions;
    • matches

      public boolean matches(ServerWorld world, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Lcf$a;a(Labr;DDD)Z
      intermediary method_9033 Lnet/minecraft/class_2092$class_2094;method_9033(Lnet/minecraft/class_3218;DDD)Z
      named matches Lnet/minecraft/advancement/criterion/LocationArrivalCriterion$Conditions;matches(Lnet/minecraft/server/world/ServerWorld;DDD)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 Lam;a(Lcq;)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;