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 ch$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 Lch$a;a:Lcg;
      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> Lch$a;<init>(Lyh;Lbo$b;Lcg;)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 Lch$a;a(Lcg;)Lch$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;
    • create

      Mappings:
      Namespace Name Mixin selector
      official a Lch$a;a(Lbo;)Lch$a;
      intermediary method_37245 Lnet/minecraft/class_2092$class_2094;method_37245(Lnet/minecraft/class_2048;)Lnet/minecraft/class_2092$class_2094;
      named create Lnet/minecraft/advancement/criterion/LocationArrivalCriterion$Conditions;create(Lnet/minecraft/predicate/entity/EntityPredicate;)Lnet/minecraft/advancement/criterion/LocationArrivalCriterion$Conditions;
    • createSleptInBed

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

      public static LocationArrivalCriterion.Conditions createSteppingOnWithBoots(Block block, Item boots)
      Mappings:
      Namespace Name Mixin selector
      official a Lch$a;a(Lccy;Lbua;)Lch$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 createSteppingOnWithBoots Lnet/minecraft/advancement/criterion/LocationArrivalCriterion$Conditions;createSteppingOnWithBoots(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 Lch$a;a(Ladi;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 Lan;a(Lcr;)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;