Class FilledBucketCriterion

All Implemented Interfaces:
Criterion<FilledBucketCriterion.Conditions>

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

    • FilledBucketCriterion

      public FilledBucketCriterion()
  • Method Details

    • conditionsFromJson

      public FilledBucketCriterion.Conditions conditionsFromJson(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
      Specified by:
      conditionsFromJson in class AbstractCriterion<FilledBucketCriterion.Conditions>
      Mappings:
      Namespace Name Mixin selector
      official a Lbu;a(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lbg;)Lbu$a;
      intermediary method_8931 Lnet/minecraft/class_2054;method_8931(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lnet/minecraft/class_5257;)Lnet/minecraft/class_2054$class_2056;
      named conditionsFromJson Lnet/minecraft/advancement/criterion/FilledBucketCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Ljava/util/Optional;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/FilledBucketCriterion$Conditions;
    • trigger

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