Class FilledBucketCriterion

All Implemented Interfaces:
Criterion<FilledBucketCriterion.Conditions>

public class FilledBucketCriterion extends AbstractCriterion<FilledBucketCriterion.Conditions>
Mappings:
Namespace Name
named net/minecraft/advancement/criterion/FilledBucketCriterion
intermediary net/minecraft/class_2054
official cb
  • Constructor Details

    • FilledBucketCriterion

      public FilledBucketCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<FilledBucketCriterion.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 Lar;a()Lcom/mojang/serialization/Codec;
    • trigger

      public void trigger(ServerPlayerEntity player, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named trigger Lnet/minecraft/advancement/criterion/FilledBucketCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/item/ItemStack;)V
      intermediary method_8932 Lnet/minecraft/class_2054;method_8932(Lnet/minecraft/class_3222;Lnet/minecraft/class_1799;)V
      official a Lcb;a(Lasi;Lcxo;)V