Class BrewedPotionCriterion

All Implemented Interfaces:
Criterion<BrewedPotionCriterion.Conditions>

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

    • BrewedPotionCriterion

      public BrewedPotionCriterion()
  • Method Details

    • getConditionsCodec

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

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