Class BeeNestDestroyedTrigger.TriggerInstance
java.lang.Object
net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
net.minecraft.advancements.critereon.BeeNestDestroyedTrigger.TriggerInstance
- All Implemented Interfaces:
CriterionTriggerInstance
- Enclosing class:
- BeeNestDestroyedTrigger
public static class BeeNestDestroyedTrigger.TriggerInstance
extends AbstractCriterionTriggerInstance
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Block
private final ItemPredicate
private final MinMaxBounds.Ints
-
Constructor Summary
ConstructorDescriptionTriggerInstance
(ContextAwarePredicate p_286609_, Block p_286264_, ItemPredicate p_286572_, MinMaxBounds.Ints p_286574_) -
Method Summary
Modifier and TypeMethodDescriptiondestroyedBeeNest
(Block p_17513_, ItemPredicate.Builder p_17514_, MinMaxBounds.Ints p_17515_) boolean
matches
(BlockState p_146662_, ItemStack p_146663_, int p_146664_) com.google.gson.JsonObject
serializeToJson
(SerializationContext p_17517_) Methods inherited from class net.minecraft.advancements.critereon.AbstractCriterionTriggerInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
block
-
item
-
numBees
-
-
Constructor Details
-
TriggerInstance
public TriggerInstance(ContextAwarePredicate p_286609_, @Nullable Block p_286264_, ItemPredicate p_286572_, MinMaxBounds.Ints p_286574_)
-
-
Method Details
-
destroyedBeeNest
public static BeeNestDestroyedTrigger.TriggerInstance destroyedBeeNest(Block p_17513_, ItemPredicate.Builder p_17514_, MinMaxBounds.Ints p_17515_) -
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceCriterionTriggerInstance
- Overrides:
serializeToJson
in classAbstractCriterionTriggerInstance
-