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 bx$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 Lbx$a;a:Lbw;
      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> Lbx$a;<init>(Lwb;Lbg$b;Lbw;)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 Lbx$a;a(Lbw;)Lbx$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;
    • createSleptInBed

      public static LocationArrivalCriterion.Conditions createSleptInBed()
      Mappings:
      Namespace Name Mixin selector
      official c Lbx$a;c()Lbx$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 Lbx$a;d()Lbx$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;
    • matches

      public boolean matches​(ServerWorld world, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Lbx$a;a(Laav;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 Lag;a(Lci;)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;