Class BrewedPotionCriterion

All Implemented Interfaces:
Criterion<BrewedPotionCriterion.Conditions>

public class BrewedPotionCriterion extends AbstractCriterion<BrewedPotionCriterion.Conditions>
Mappings:
Namespace Name
named net/minecraft/advancement/criterion/BrewedPotionCriterion
intermediary net/minecraft/class_1996
official ay
  • Constructor Details

    • BrewedPotionCriterion

      public BrewedPotionCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<BrewedPotionCriterion.Conditions> getConditionsCodec()
      Mappings:
      Namespace Name Mixin selector
      named getConditionsCodec Lnet/minecraft/advancement/criterion/Criterion;getConditionsCodec()Lcom/mojang/serialization/Codec;
      intermediary method_54937 Lnet/minecraft/class_179;method_54937()Lcom/mojang/serialization/Codec;
      official a Laq;a()Lcom/mojang/serialization/Codec;
    • trigger

      public void trigger(ServerPlayerEntity player, RegistryEntry<Potion> potion)
      Mappings:
      Namespace Name Mixin selector
      named trigger Lnet/minecraft/advancement/criterion/BrewedPotionCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/registry/entry/RegistryEntry;)V
      intermediary method_8784 Lnet/minecraft/class_1996;method_8784(Lnet/minecraft/class_3222;Lnet/minecraft/class_6880;)V
      official a Lay;a(Laqu;Ljm;)V