Class BeeNestDestroyedCriterion

All Implemented Interfaces:
Criterion<BeeNestDestroyedCriterion.Conditions>

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

    • ID

      static final Identifier ID
      Mappings:
      Namespace Name Mixin selector
      official a Las;a:Lacq;
      intermediary field_21568 Lnet/minecraft/class_4708;field_21568:Lnet/minecraft/class_2960;
      named ID Lnet/minecraft/advancement/criterion/BeeNestDestroyedCriterion;ID:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • BeeNestDestroyedCriterion

      public BeeNestDestroyedCriterion()
  • Method Details

    • getId

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lal;a()Lacq;
      intermediary method_794 Lnet/minecraft/class_179;method_794()Lnet/minecraft/class_2960;
      named getId Lnet/minecraft/advancement/criterion/Criterion;getId()Lnet/minecraft/util/Identifier;
    • conditionsFromJson

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

      @Nullable private static @Nullable Block getBlock(JsonObject root)
      Mappings:
      Namespace Name Mixin selector
      official a Las;a(Lcom/google/gson/JsonObject;)Lcpl;
      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 Las;a(Laig;Ldby;Lcfx;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