Class BeeNestDestroyedCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.BeeNestDestroyedCriterion.Conditions
- All Implemented Interfaces:
AbstractCriterion.Conditions
,CriterionConditions
- Enclosing class:
BeeNestDestroyedCriterion
- Mappings:
Namespace Name official au$a
intermediary net/minecraft/class_4708$class_4709
named net/minecraft/advancement/criterion/BeeNestDestroyedCriterion$Conditions
-
Field Summary
Modifier and TypeFieldDescriptionprivate final NumberRange.IntRange
private final @Nullable Block
private final Optional<ItemPredicate>
-
Constructor Summary
ConstructorDescriptionConditions
(Optional<LootContextPredicate> playerPredicate, @Nullable Block block, Optional<ItemPredicate> item, NumberRange.IntRange beeCount) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(Block block, ItemPredicate.Builder itemPredicateBuilder, NumberRange.IntRange beeCountRange) boolean
test
(BlockState state, ItemStack stack, int count) com.google.gson.JsonObject
toJson()
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getPlayerPredicate
-
Field Details
-
block
- Mappings:
Namespace Name Mixin selector official a
Lau$a;a:Lcsv;
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
- Mappings:
Namespace Name Mixin selector official b
Lau$a;b:Ljava/util/Optional;
intermediary field_21570
Lnet/minecraft/class_4708$class_4709;field_21570:Ljava/util/Optional;
named item
Lnet/minecraft/advancement/criterion/BeeNestDestroyedCriterion$Conditions;item:Ljava/util/Optional;
-
beeCount
- Mappings:
Namespace Name Mixin selector official c
Lau$a;c:Lcl$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(Optional<LootContextPredicate> playerPredicate, @Nullable @Nullable Block block, Optional<ItemPredicate> item, NumberRange.IntRange beeCount) - Mappings:
Namespace Name Mixin selector official <init>
Lau$a;<init>(Ljava/util/Optional;Lcsv;Ljava/util/Optional;Lcl$d;)V
intermediary <init>
Lnet/minecraft/class_4708$class_4709;<init>(Ljava/util/Optional;Lnet/minecraft/class_2248;Ljava/util/Optional;Lnet/minecraft/class_2096$class_2100;)V
named <init>
Lnet/minecraft/advancement/criterion/BeeNestDestroyedCriterion$Conditions;<init>(Ljava/util/Optional;Lnet/minecraft/block/Block;Ljava/util/Optional;Lnet/minecraft/predicate/NumberRange$IntRange;)V
-
-
Method Details
-
create
public static AdvancementCriterion<BeeNestDestroyedCriterion.Conditions> create(Block block, ItemPredicate.Builder itemPredicateBuilder, NumberRange.IntRange beeCountRange) - Mappings:
Namespace Name Mixin selector official a
Lau$a;a(Lcsv;Lcb$a;Lcl$d;)Lam;
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_175;
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/AdvancementCriterion;
-
test
- Mappings:
Namespace Name Mixin selector official a
Lau$a;a(Ldfj;Lcjf;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 com.google.gson.JsonObject toJson()- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lap;a()Lcom/google/gson/JsonObject;
intermediary method_807
Lnet/minecraft/class_184;method_807()Lcom/google/gson/JsonObject;
named toJson
Lnet/minecraft/advancement/criterion/CriterionConditions;toJson()Lcom/google/gson/JsonObject;
-