Interface AbstractCriterion.Conditions

All Superinterfaces:
CriterionConditions
All Known Implementing Classes:
BeeNestDestroyedCriterion.Conditions, BredAnimalsCriterion.Conditions, BrewedPotionCriterion.Conditions, ChangedDimensionCriterion.Conditions, ChanneledLightningCriterion.Conditions, ConstructBeaconCriterion.Conditions, ConsumeItemCriterion.Conditions, CuredZombieVillagerCriterion.Conditions, EffectsChangedCriterion.Conditions, EnchantedItemCriterion.Conditions, EnterBlockCriterion.Conditions, EntityHurtPlayerCriterion.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
official cv$a
intermediary net/minecraft/class_4558$class_8788
named net/minecraft/advancement/criterion/AbstractCriterion$Conditions
  • Method Details

    • validate

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

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