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
(EntityPredicate.Composite p_17504_, Block p_17505_, ItemPredicate p_17506_, MinMaxBounds.Ints p_17507_) -
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(EntityPredicate.Composite p_17504_, @Nullable Block p_17505_, ItemPredicate p_17506_, MinMaxBounds.Ints p_17507_)
-
-
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
-