Class BeeNestDestroyedCriterion

All Implemented Interfaces:
Criterion<BeeNestDestroyedCriterion.Conditions>

public class BeeNestDestroyedCriterion extends AbstractCriterion<BeeNestDestroyedCriterion.Conditions>
Mappings:
Namespace Name
official au
intermediary net/minecraft/class_4708
named net/minecraft/advancement/criterion/BeeNestDestroyedCriterion
  • Constructor Details

    • BeeNestDestroyedCriterion

      public BeeNestDestroyedCriterion()
  • Method Details

    • conditionsFromJson

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

      @Nullable private static @Nullable Block getBlock(com.google.gson.JsonObject root)
      Mappings:
      Namespace Name Mixin selector
      official a Lau;a(Lcom/google/gson/JsonObject;)Lcsv;
      intermediary method_23873 Lnet/minecraft/class_4708;method_23873(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_2248;
      named getBlock Lnet/minecraft/advancement/criterion/BeeNestDestroyedCriterion;getBlock(Lcom/google/gson/JsonObject;)Lnet/minecraft/block/Block;
    • trigger

      public void trigger(ServerPlayerEntity player, BlockState state, ItemStack stack, int beeCount)
      Mappings:
      Namespace Name Mixin selector
      official a Lau;a(Lakr;Ldfj;Lcjf;I)V
      intermediary method_23875 Lnet/minecraft/class_4708;method_23875(Lnet/minecraft/class_3222;Lnet/minecraft/class_2680;Lnet/minecraft/class_1799;I)V
      named trigger Lnet/minecraft/advancement/criterion/BeeNestDestroyedCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/block/BlockState;Lnet/minecraft/item/ItemStack;I)V