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, ItemDurabilityChangedCriterion.Conditions, ItemUsedOnBlockCriterion.Conditions, KilledByCrossbowCriterion.Conditions, LevitationCriterion.Conditions, LocationArrivalCriterion.Conditions, NetherTravelCriterion.Conditions, OnKilledCriterion.Conditions, PlacedBlockCriterion.Conditions, PlayerGeneratesContainerLootCriterion.Conditions, PlayerHurtEntityCriterion.Conditions, PlayerInteractedWithEntityCriterion.Conditions, RecipeUnlockedCriterion.Conditions, ShotCrossbowCriterion.Conditions, SlideDownBlockCriterion.Conditions, SummonedEntityCriterion.Conditions, TameAnimalCriterion.Conditions, TargetHitCriterion.Conditions, ThrownItemPickedUpByEntityCriterion.Conditions, TickCriterion.Conditions, UsedEnderEyeCriterion.Conditions, UsedTotemCriterion.Conditions, VillagerTradeCriterion.Conditions

public abstract class AbstractCriterionConditions
extends Object
implements CriterionConditions
Mappings:
Namespace Name
official al
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 Lal;a:Lwb;
      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 Lal;b:Lbg$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 playerPredicate)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lal;<init>(Lwb;Lbg$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 Lag;a()Lwb;
      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 Lal;b()Lbg$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 Lag;a(Lci;)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
      Mappings:
      Namespace Name Mixin selector
      official toString Lal;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_195;toString()Ljava/lang/String;
      named toString Lnet/minecraft/advancement/criterion/AbstractCriterionConditions;toString()Ljava/lang/String;