Interface AbstractCriterion.Conditions

All Superinterfaces:
CriterionConditions
All Known Implementing Classes:
AnyBlockUseCriterion.Conditions, BeeNestDestroyedCriterion.Conditions, BredAnimalsCriterion.Conditions, BrewedPotionCriterion.Conditions, ChangedDimensionCriterion.Conditions, ChanneledLightningCriterion.Conditions, ConstructBeaconCriterion.Conditions, ConsumeItemCriterion.Conditions, CuredZombieVillagerCriterion.Conditions, DefaultBlockUseCriterion.Conditions, EffectsChangedCriterion.Conditions, EnchantedItemCriterion.Conditions, EnterBlockCriterion.Conditions, EntityHurtPlayerCriterion.Conditions, FallAfterExplosionCriterion.Conditions, FilledBucketCriterion.Conditions, FishingRodHookedCriterion.Conditions, InventoryChangedCriterion.Conditions, ItemCriterion.Conditions, ItemDurabilityChangedCriterion.Conditions, KilledByCrossbowCriterion.Conditions, LevitationCriterion.Conditions, LightningStrikeCriterion.Conditions, OnKilledCriterion.Conditions, PlayerGeneratesContainerLootCriterion.Conditions, PlayerHurtEntityCriterion.Conditions, PlayerInteractedWithEntityCriterion.Conditions, RecipeCraftedCriterion.Conditions, RecipeUnlockedCriterion.Conditions, ShotCrossbowCriterion.Conditions, SlideDownBlockCriterion.Conditions, StartedRidingCriterion.Conditions, SummonedEntityCriterion.Conditions, TameAnimalCriterion.Conditions, TargetHitCriterion.Conditions, ThrownItemPickedUpByEntityCriterion.Conditions, TickCriterion.Conditions, TravelCriterion.Conditions, UsedEnderEyeCriterion.Conditions, UsedTotemCriterion.Conditions, UsingItemCriterion.Conditions, VillagerTradeCriterion.Conditions
Enclosing class:
AbstractCriterion<T extends AbstractCriterion.Conditions>

public static interface AbstractCriterion.Conditions extends CriterionConditions
Mappings:
Namespace Name
named net/minecraft/advancement/criterion/AbstractCriterion$Conditions
intermediary net/minecraft/class_4558$class_8788
official dv$a
  • Method Details

    • validate

      default void validate(LootContextPredicateValidator validator)
      Specified by:
      validate in interface CriterionConditions
      Mappings:
      Namespace Name Mixin selector
      named validate Lnet/minecraft/advancement/criterion/CriterionConditions;validate(Lnet/minecraft/predicate/entity/LootContextPredicateValidator;)V
      intermediary method_54938 Lnet/minecraft/class_184;method_54938(Lnet/minecraft/class_8944;)V
      official a Lar;a(Lbh;)V
    • player

      Mappings:
      Namespace Name Mixin selector
      named player Lnet/minecraft/advancement/criterion/AbstractCriterion$Conditions;player()Ljava/util/Optional;
      intermediary comp_2029 Lnet/minecraft/class_4558$class_8788;comp_2029()Ljava/util/Optional;
      official a Ldv$a;a()Ljava/util/Optional;