Class BeeNestDestroyedCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.BeeNestDestroyedCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
- BeeNestDestroyedCriterion
public static class BeeNestDestroyedCriterion.Conditions extends AbstractCriterionConditions
-
Field Summary
Fields Modifier and Type Field Description private NumberRange.IntRangebeeCountprivate Blockblockprivate ItemPredicateitem -
Constructor Summary
Constructors Constructor Description Conditions(EntityPredicate.Extended player, Block block, ItemPredicate item, NumberRange.IntRange beeCount) -
Method Summary
Modifier and Type Method Description static BeeNestDestroyedCriterion.Conditionscreate(Block block, ItemPredicate.Builder itemPredicateBuilder, NumberRange.IntRange beeCountRange)booleantest(BlockState blockState, ItemStack stack, int count)JsonObjecttoJson(AdvancementEntityPredicateSerializer predicateSerializer)Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getId, getPlayerPredicate, toString
-
Field Details
-
block
-
item
-
beeCount
-
-
Constructor Details
-
Conditions
public Conditions(EntityPredicate.Extended player, @Nullable Block block, ItemPredicate item, NumberRange.IntRange beeCount)
-
-
Method Details
-
create
public static BeeNestDestroyedCriterion.Conditions create(Block block, ItemPredicate.Builder itemPredicateBuilder, NumberRange.IntRange beeCountRange) -
test
-
toJson
- Specified by:
toJsonin interfaceCriterionConditions- Overrides:
toJsonin classAbstractCriterionConditions
-