Class TravelCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<TravelCriterion.Conditions>
net.minecraft.advancement.criterion.TravelCriterion
- All Implemented Interfaces:
Criterion<TravelCriterion.Conditions>
- Mappings:
Namespace Name official bi
intermediary net/minecraft/class_2108
named net/minecraft/advancement/criterion/TravelCriterion
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancement.criterion.Criterion
Criterion.ConditionsContainer<T extends CriterionConditions>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) void
trigger
(ServerPlayerEntity player, Vec3d startPos) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, trigger
-
Constructor Details
-
TravelCriterion
public TravelCriterion()
-
-
Method Details
-
conditionsFromJson
public TravelCriterion.Conditions conditionsFromJson(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) - Specified by:
conditionsFromJson
in classAbstractCriterion<TravelCriterion.Conditions>
- Mappings:
Namespace Name Mixin selector official a
Lbi;a(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lbg;)Lbi$a;
intermediary method_9078
Lnet/minecraft/class_2108;method_9078(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lnet/minecraft/class_5257;)Lnet/minecraft/class_2108$class_2110;
named conditionsFromJson
Lnet/minecraft/advancement/criterion/TravelCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/TravelCriterion$Conditions;
-
trigger
- Mappings:
Namespace Name Mixin selector official a
Lbi;a(Lakr;Lehn;)V
intermediary method_9080
Lnet/minecraft/class_2108;method_9080(Lnet/minecraft/class_3222;Lnet/minecraft/class_243;)V
named trigger
Lnet/minecraft/advancement/criterion/TravelCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/math/Vec3d;)V
-