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