Class BeeNestDestroyedCriterion.Conditions

java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.BeeNestDestroyedCriterion.Conditions
All Implemented Interfaces:
CriterionConditions
Enclosing class:
BeeNestDestroyedCriterion

public static class BeeNestDestroyedCriterion.Conditions extends AbstractCriterionConditions
Mappings:
Namespace Name
official as$a
intermediary net/minecraft/class_4708$class_4709
named net/minecraft/advancement/criterion/BeeNestDestroyedCriterion$Conditions
  • Field Details

    • block

      @Nullable private final @Nullable Block block
      Mappings:
      Namespace Name Mixin selector
      official a Las$a;a:Lcpl;
      intermediary field_21569 Lnet/minecraft/class_4708$class_4709;field_21569:Lnet/minecraft/class_2248;
      named block Lnet/minecraft/advancement/criterion/BeeNestDestroyedCriterion$Conditions;block:Lnet/minecraft/block/Block;
    • item

      private final ItemPredicate item
      Mappings:
      Namespace Name Mixin selector
      official b Las$a;b:Lbz;
      intermediary field_21570 Lnet/minecraft/class_4708$class_4709;field_21570:Lnet/minecraft/class_2073;
      named item Lnet/minecraft/advancement/criterion/BeeNestDestroyedCriterion$Conditions;item:Lnet/minecraft/predicate/item/ItemPredicate;
    • beeCount

      private final NumberRange.IntRange beeCount
      Mappings:
      Namespace Name Mixin selector
      official c Las$a;c:Lcj$d;
      intermediary field_21571 Lnet/minecraft/class_4708$class_4709;field_21571:Lnet/minecraft/class_2096$class_2100;
      named beeCount Lnet/minecraft/advancement/criterion/BeeNestDestroyedCriterion$Conditions;beeCount:Lnet/minecraft/predicate/NumberRange$IntRange;
  • Constructor Details

    • Conditions

      public Conditions(LootContextPredicate player, @Nullable @Nullable Block block, ItemPredicate item, NumberRange.IntRange beeCount)
      Mappings:
      Namespace Name Mixin selector
      official <init> Las$a;<init>(Lba;Lcpl;Lbz;Lcj$d;)V
      intermediary <init> Lnet/minecraft/class_4708$class_4709;<init>(Lnet/minecraft/class_5258;Lnet/minecraft/class_2248;Lnet/minecraft/class_2073;Lnet/minecraft/class_2096$class_2100;)V
      named <init> Lnet/minecraft/advancement/criterion/BeeNestDestroyedCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/block/Block;Lnet/minecraft/predicate/item/ItemPredicate;Lnet/minecraft/predicate/NumberRange$IntRange;)V
  • Method Details

    • create

      public static BeeNestDestroyedCriterion.Conditions create(Block block, ItemPredicate.Builder itemPredicateBuilder, NumberRange.IntRange beeCountRange)
      Mappings:
      Namespace Name Mixin selector
      official a Las$a;a(Lcpl;Lbz$a;Lcj$d;)Las$a;
      intermediary method_23879 Lnet/minecraft/class_4708$class_4709;method_23879(Lnet/minecraft/class_2248;Lnet/minecraft/class_2073$class_2074;Lnet/minecraft/class_2096$class_2100;)Lnet/minecraft/class_4708$class_4709;
      named create Lnet/minecraft/advancement/criterion/BeeNestDestroyedCriterion$Conditions;create(Lnet/minecraft/block/Block;Lnet/minecraft/predicate/item/ItemPredicate$Builder;Lnet/minecraft/predicate/NumberRange$IntRange;)Lnet/minecraft/advancement/criterion/BeeNestDestroyedCriterion$Conditions;
    • test

      public boolean test(BlockState state, ItemStack stack, int count)
      Mappings:
      Namespace Name Mixin selector
      official a Las$a;a(Ldby;Lcfx;I)Z
      intermediary method_23878 Lnet/minecraft/class_4708$class_4709;method_23878(Lnet/minecraft/class_2680;Lnet/minecraft/class_1799;I)Z
      named test Lnet/minecraft/advancement/criterion/BeeNestDestroyedCriterion$Conditions;test(Lnet/minecraft/block/BlockState;Lnet/minecraft/item/ItemStack;I)Z
    • toJson

      public JsonObject toJson(AdvancementEntityPredicateSerializer predicateSerializer)
      Specified by:
      toJson in interface CriterionConditions
      Overrides:
      toJson in class AbstractCriterionConditions
      Mappings:
      Namespace Name Mixin selector
      official a Lam;a(Lct;)Lcom/google/gson/JsonObject;
      intermediary method_807 Lnet/minecraft/class_184;method_807(Lnet/minecraft/class_5267;)Lcom/google/gson/JsonObject;
      named toJson Lnet/minecraft/advancement/criterion/CriterionConditions;toJson(Lnet/minecraft/predicate/entity/AdvancementEntityPredicateSerializer;)Lcom/google/gson/JsonObject;