Class BrewedPotionCriterion.Conditions

java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.BrewedPotionCriterion.Conditions
All Implemented Interfaces:
AbstractCriterion.Conditions, CriterionConditions
Enclosing class:
BrewedPotionCriterion

public static class BrewedPotionCriterion.Conditions extends AbstractCriterionConditions
Mappings:
Namespace Name
official ax$a
intermediary net/minecraft/class_1996$class_1998
named net/minecraft/advancement/criterion/BrewedPotionCriterion$Conditions
  • Field Details

    • potion

      @Nullable private final @Nullable Potion potion
      Mappings:
      Namespace Name Mixin selector
      official a Lax$a;a:Lclc;
      intermediary field_9492 Lnet/minecraft/class_1996$class_1998;field_9492:Lnet/minecraft/class_1842;
      named potion Lnet/minecraft/advancement/criterion/BrewedPotionCriterion$Conditions;potion:Lnet/minecraft/potion/Potion;
  • Constructor Details

    • Conditions

      public Conditions(Optional<LootContextPredicate> playerPredicate, @Nullable @Nullable Potion potion)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lax$a;<init>(Ljava/util/Optional;Lclc;)V
      intermediary <init> Lnet/minecraft/class_1996$class_1998;<init>(Ljava/util/Optional;Lnet/minecraft/class_1842;)V
      named <init> Lnet/minecraft/advancement/criterion/BrewedPotionCriterion$Conditions;<init>(Ljava/util/Optional;Lnet/minecraft/potion/Potion;)V
  • Method Details

    • any

      Mappings:
      Namespace Name Mixin selector
      official c Lax$a;c()Lam;
      intermediary method_8791 Lnet/minecraft/class_1996$class_1998;method_8791()Lnet/minecraft/class_175;
      named any Lnet/minecraft/advancement/criterion/BrewedPotionCriterion$Conditions;any()Lnet/minecraft/advancement/AdvancementCriterion;
    • matches

      public boolean matches(Potion potion)
      Mappings:
      Namespace Name Mixin selector
      official a Lax$a;a(Lclc;)Z
      intermediary method_8790 Lnet/minecraft/class_1996$class_1998;method_8790(Lnet/minecraft/class_1842;)Z
      named matches Lnet/minecraft/advancement/criterion/BrewedPotionCriterion$Conditions;matches(Lnet/minecraft/potion/Potion;)Z
    • toJson

      public com.google.gson.JsonObject toJson()
      Specified by:
      toJson in interface CriterionConditions
      Overrides:
      toJson in class AbstractCriterionConditions
      Mappings:
      Namespace Name Mixin selector
      official a Lap;a()Lcom/google/gson/JsonObject;
      intermediary method_807 Lnet/minecraft/class_184;method_807()Lcom/google/gson/JsonObject;
      named toJson Lnet/minecraft/advancement/criterion/CriterionConditions;toJson()Lcom/google/gson/JsonObject;