Class LocationArrivalCriterion

All Implemented Interfaces:
Criterion<LocationArrivalCriterion.Conditions>

public class LocationArrivalCriterion extends AbstractCriterion<LocationArrivalCriterion.Conditions>
Mappings:
Namespace Name
official ch
intermediary net/minecraft/class_2092
named net/minecraft/advancement/criterion/LocationArrivalCriterion
  • Field Details

    • id

      final Identifier id
      Mappings:
      Namespace Name Mixin selector
      official a Lch;a:Lyt;
      intermediary field_9694 Lnet/minecraft/class_2092;field_9694:Lnet/minecraft/class_2960;
      named id Lnet/minecraft/advancement/criterion/LocationArrivalCriterion;id:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • LocationArrivalCriterion

      public LocationArrivalCriterion(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lch;<init>(Lyt;)V
      intermediary <init> Lnet/minecraft/class_2092;<init>(Lnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/advancement/criterion/LocationArrivalCriterion;<init>(Lnet/minecraft/util/Identifier;)V
  • Method Details

    • getId

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lam;a()Lyt;
      intermediary method_794 Lnet/minecraft/class_179;method_794()Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/advancement/criterion/Criterion;getId()Lnet/minecraft/util/Identifier;
    • conditionsFromJson

      public LocationArrivalCriterion.Conditions conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
      Specified by:
      conditionsFromJson in class AbstractCriterion<LocationArrivalCriterion.Conditions>
      Mappings:
      Namespace Name Mixin selector
      official a Lch;a(Lcom/google/gson/JsonObject;Lbo$b;Lbe;)Lch$a;
      intermediary method_9026 Lnet/minecraft/class_2092;method_9026(Lcom/google/gson/JsonObject;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_5257;)Lnet/minecraft/class_2092$class_2094;
      named conditionsFromJson Lnet/minecraft/advancement/criterion/LocationArrivalCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/LocationArrivalCriterion$Conditions;
    • trigger

      public void trigger(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lch;a(Ladx;)V
      intermediary method_9027 Lnet/minecraft/class_2092;method_9027(Lnet/minecraft/class_3222;)V
      named trigger Lnet/minecraft/advancement/criterion/LocationArrivalCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;)V