Class BeeNestDestroyedTrigger.Instance
java.lang.Object
net.minecraft.advancements.criterion.CriterionInstance
net.minecraft.advancements.criterion.BeeNestDestroyedTrigger.Instance
- All Implemented Interfaces:
ICriterionInstance
- Enclosing class:
- BeeNestDestroyedTrigger
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Block
private final ItemPredicate
private final MinMaxBounds.IntBound
-
Constructor Summary
ConstructorDescriptionInstance
(EntityPredicate.AndPredicate p_i231471_1_, Block p_i231471_2_, ItemPredicate p_i231471_3_, MinMaxBounds.IntBound p_i231471_4_) -
Method Summary
Modifier and TypeMethodDescriptiondestroyedBeeNest
(Block p_226229_0_, ItemPredicate.Builder p_226229_1_, MinMaxBounds.IntBound p_226229_2_) boolean
com.google.gson.JsonObject
serializeToJson
(ConditionArraySerializer p_230240_1_) Methods inherited from class net.minecraft.advancements.criterion.CriterionInstance
getCriterion, getPlayerPredicate, toString
-
Field Details
-
block
-
item
-
numBees
-
-
Constructor Details
-
Instance
public Instance(EntityPredicate.AndPredicate p_i231471_1_, @Nullable Block p_i231471_2_, ItemPredicate p_i231471_3_, MinMaxBounds.IntBound p_i231471_4_)
-
-
Method Details
-
destroyedBeeNest
public static BeeNestDestroyedTrigger.Instance destroyedBeeNest(Block p_226229_0_, ItemPredicate.Builder p_226229_1_, MinMaxBounds.IntBound p_226229_2_) -
matches
-
serializeToJson
- Specified by:
serializeToJson
in interfaceICriterionInstance
- Overrides:
serializeToJson
in classCriterionInstance
-