Class BeeNestDestroyedCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<BeeNestDestroyedCriterion.Conditions>
net.minecraft.advancement.criterion.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
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancement.criterion.Criterion
Criterion.ConditionsContainer<T extends CriterionConditions>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconditionsFromJson
(com.google.gson.JsonObject jsonObject, Optional<LootContextPredicate> optional, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) private static @Nullable Block
getBlock
(com.google.gson.JsonObject root) void
trigger
(ServerPlayerEntity player, BlockState state, ItemStack stack, int beeCount) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, trigger
-
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 classAbstractCriterion<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
- 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
- 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
-