Interface Criterion<T extends CriterionConditions>

All Known Implementing Classes:
AbstractCriterion, BeeNestDestroyedCriterion, BredAnimalsCriterion, BrewedPotionCriterion, ChangedDimensionCriterion, ChanneledLightningCriterion, ConstructBeaconCriterion, ConsumeItemCriterion, CuredZombieVillagerCriterion, EffectsChangedCriterion, EnchantedItemCriterion, EnterBlockCriterion, EntityHurtPlayerCriterion, FilledBucketCriterion, FishingRodHookedCriterion, ImpossibleCriterion, InventoryChangedCriterion, ItemDurabilityChangedCriterion, ItemUsedOnBlockCriterion, KilledByCrossbowCriterion, LevitationCriterion, LightningStrikeCriterion, LocationArrivalCriterion, OnKilledCriterion, PlacedBlockCriterion, PlayerGeneratesContainerLootCriterion, PlayerHurtEntityCriterion, PlayerInteractedWithEntityCriterion, RecipeUnlockedCriterion, ShotCrossbowCriterion, SlideDownBlockCriterion, StartedRidingCriterion, SummonedEntityCriterion, TameAnimalCriterion, TargetHitCriterion, ThrownItemPickedUpByEntityCriterion, TickCriterion, TravelCriterion, UsedEnderEyeCriterion, UsedTotemCriterion, UsingItemCriterion, VillagerTradeCriterion

public interface Criterion<T extends CriterionConditions>
Mappings:
Namespace Name
official am
intermediary net/minecraft/class_179
named net/minecraft/advancement/criterion/Criterion
  • Method Details

    • getId

      Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lam;a()Lyb;
      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;
    • beginTrackingCondition

      void beginTrackingCondition(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<T> conditions)
      Mappings:
      Namespace Name Mixin selector
      official a Lam;a(Lyj;Lam$a;)V
      intermediary method_792 Lnet/minecraft/class_179;method_792(Lnet/minecraft/class_2985;Lnet/minecraft/class_179$class_180;)V
      named beginTrackingCondition Lnet/minecraft/advancement/criterion/Criterion;beginTrackingCondition(Lnet/minecraft/advancement/PlayerAdvancementTracker;Lnet/minecraft/advancement/criterion/Criterion$ConditionsContainer;)V
    • endTrackingCondition

      void endTrackingCondition(PlayerAdvancementTracker manager, Criterion.ConditionsContainer<T> conditions)
      Mappings:
      Namespace Name Mixin selector
      official b Lam;b(Lyj;Lam$a;)V
      intermediary method_793 Lnet/minecraft/class_179;method_793(Lnet/minecraft/class_2985;Lnet/minecraft/class_179$class_180;)V
      named endTrackingCondition Lnet/minecraft/advancement/criterion/Criterion;endTrackingCondition(Lnet/minecraft/advancement/PlayerAdvancementTracker;Lnet/minecraft/advancement/criterion/Criterion$ConditionsContainer;)V
    • endTracking

      void endTracking(PlayerAdvancementTracker tracker)
      Mappings:
      Namespace Name Mixin selector
      official a Lam;a(Lyj;)V
      intermediary method_791 Lnet/minecraft/class_179;method_791(Lnet/minecraft/class_2985;)V
      named endTracking Lnet/minecraft/advancement/criterion/Criterion;endTracking(Lnet/minecraft/advancement/PlayerAdvancementTracker;)V
    • conditionsFromJson

      T conditionsFromJson(JsonObject obj, AdvancementEntityPredicateDeserializer predicateDeserializer)
      Mappings:
      Namespace Name Mixin selector
      official a Lam;a(Lcom/google/gson/JsonObject;Lbe;)Lan;
      intermediary method_795 Lnet/minecraft/class_179;method_795(Lcom/google/gson/JsonObject;Lnet/minecraft/class_5257;)Lnet/minecraft/class_184;
      named conditionsFromJson Lnet/minecraft/advancement/criterion/Criterion;conditionsFromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/CriterionConditions;