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 bg
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>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconditionsFromJson
(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) getId()
void
trigger
(ServerPlayerEntity player, Vec3d startPos) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, trigger
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official a
Lbg;a:Lacq;
intermediary field_9717
Lnet/minecraft/class_2108;field_9717:Lnet/minecraft/class_2960;
named id
Lnet/minecraft/advancement/criterion/TravelCriterion;id:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
TravelCriterion
- Mappings:
Namespace Name Mixin selector official <init>
Lbg;<init>(Lacq;)V
intermediary <init>
Lnet/minecraft/class_2108;<init>(Lnet/minecraft/class_2960;)V
named <init>
Lnet/minecraft/advancement/criterion/TravelCriterion;<init>(Lnet/minecraft/util/Identifier;)V
-
-
Method Details
-
getId
- Mappings:
Namespace Name Mixin selector official a
Lal;a()Lacq;
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 TravelCriterion.Conditions conditionsFromJson(JsonObject jsonObject, LootContextPredicate lootContextPredicate, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) - Specified by:
conditionsFromJson
in classAbstractCriterion<TravelCriterion.Conditions>
- Mappings:
Namespace Name Mixin selector official a
Lbg;a(Lcom/google/gson/JsonObject;Lba;Lbe;)Lbg$a;
intermediary method_9078
Lnet/minecraft/class_2108;method_9078(Lcom/google/gson/JsonObject;Lnet/minecraft/class_5258;Lnet/minecraft/class_5257;)Lnet/minecraft/class_2108$class_2110;
named conditionsFromJson
Lnet/minecraft/advancement/criterion/TravelCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/TravelCriterion$Conditions;
-
trigger
- Mappings:
Namespace Name Mixin selector official a
Lbg;a(Laig;Leea;)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
-