Class AbstractCriterionConditions

java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
All Implemented Interfaces:
CriterionConditions
Direct Known Subclasses:
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, PlacedBlockCriterion.Conditions, PlayerGeneratesContainerLootCriterion.Conditions, PlayerHurtEntityCriterion.Conditions, PlayerInteractedWithEntityCriterion.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

public abstract class AbstractCriterionConditions extends Object implements CriterionConditions
Mappings:
Namespace Name
official as
intermediary net/minecraft/class_195
named net/minecraft/advancement/criterion/AbstractCriterionConditions
  • Field Details

    • id

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      official a Las;a:Laaj;
      intermediary field_1270 Lnet/minecraft/class_195;field_1270:Lnet/minecraft/class_2960;
      named id Lnet/minecraft/advancement/criterion/AbstractCriterionConditions;id:Lnet/minecraft/util/Identifier;
    • playerPredicate

      private final EntityPredicate.Extended playerPredicate
      Mappings:
      Namespace Name Mixin selector
      official b Las;b:Lbo$b;
      intermediary field_24381 Lnet/minecraft/class_195;field_24381:Lnet/minecraft/class_2048$class_5258;
      named playerPredicate Lnet/minecraft/advancement/criterion/AbstractCriterionConditions;playerPredicate:Lnet/minecraft/predicate/entity/EntityPredicate$Extended;
  • Constructor Details

    • AbstractCriterionConditions

      public AbstractCriterionConditions(Identifier id, EntityPredicate.Extended entity)
      Mappings:
      Namespace Name Mixin selector
      official <init> Las;<init>(Laaj;Lbo$b;)V
      intermediary <init> Lnet/minecraft/class_195;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_2048$class_5258;)V
      named <init> Lnet/minecraft/advancement/criterion/AbstractCriterionConditions;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;)V
  • Method Details

    • getId

      public Identifier getId()
      Specified by:
      getId in interface CriterionConditions
      Mappings:
      Namespace Name Mixin selector
      official a Lan;a()Laaj;
      intermediary method_806 Lnet/minecraft/class_184;method_806()Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/advancement/criterion/CriterionConditions;getId()Lnet/minecraft/util/Identifier;
    • getPlayerPredicate

      protected EntityPredicate.Extended getPlayerPredicate()
      Mappings:
      Namespace Name Mixin selector
      official b Las;b()Lbo$b;
      intermediary method_27790 Lnet/minecraft/class_195;method_27790()Lnet/minecraft/class_2048$class_5258;
      named getPlayerPredicate Lnet/minecraft/advancement/criterion/AbstractCriterionConditions;getPlayerPredicate()Lnet/minecraft/predicate/entity/EntityPredicate$Extended;
    • toJson

      public JsonObject toJson(AdvancementEntityPredicateSerializer predicateSerializer)
      Specified by:
      toJson in interface CriterionConditions
      Mappings:
      Namespace Name Mixin selector
      official a Lan;a(Lct;)Lcom/google/gson/JsonObject;
      intermediary method_807 Lnet/minecraft/class_184;method_807(Lnet/minecraft/class_5267;)Lcom/google/gson/JsonObject;
      named toJson Lnet/minecraft/advancement/criterion/CriterionConditions;toJson(Lnet/minecraft/predicate/entity/AdvancementEntityPredicateSerializer;)Lcom/google/gson/JsonObject;
    • toString

      public String toString()
      Overrides:
      toString in class Object