Class LocationArrivalCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<LocationArrivalCriterion.Conditions>
net.minecraft.advancement.criterion.LocationArrivalCriterion
- All Implemented Interfaces:
Criterion<LocationArrivalCriterion.Conditions>
public class LocationArrivalCriterion extends AbstractCriterion<LocationArrivalCriterion.Conditions>
- Mappings:
Namespace Name official bx
intermediary net/minecraft/class_2092
named net/minecraft/advancement/criterion/LocationArrivalCriterion
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LocationArrivalCriterion.Conditions
Nested classes/interfaces inherited from interface net.minecraft.advancement.criterion.Criterion
Criterion.ConditionsContainer<T extends CriterionConditions>
-
Field Summary
Fields Modifier and Type Field Description private Identifier
id
-
Constructor Summary
Constructors Constructor Description LocationArrivalCriterion(Identifier id)
-
Method Summary
Modifier and Type Method Description LocationArrivalCriterion.Conditions
conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
Identifier
getId()
void
trigger(ServerPlayerEntity player)
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, test
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official a
Lbx;a:Lwb;
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
- Mappings:
Namespace Name Mixin selector official <init>
Lbx;<init>(Lwb;)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
- Mappings:
Namespace Name Mixin selector official a
Laf;a()Lwb;
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 classAbstractCriterion<LocationArrivalCriterion.Conditions>
- Mappings:
Namespace Name Mixin selector official a
Lbx;a(Lcom/google/gson/JsonObject;Lbg$b;Lax;)Lbx$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
- Mappings:
Namespace Name Mixin selector official a
Lbx;a(Laaw;)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
-