public class BeeNestDestroyedCriterion extends AbstractCriterion<BeeNestDestroyedCriterion.Conditions>
| Modifier and Type | Class and Description |
|---|---|
static class |
BeeNestDestroyedCriterion.Conditions |
Criterion.ConditionsContainer<T extends CriterionConditions>| Modifier and Type | Field and Description |
|---|---|
private static Identifier |
ID |
| Constructor and Description |
|---|
BeeNestDestroyedCriterion() |
| Modifier and Type | Method and Description |
|---|---|
BeeNestDestroyedCriterion.Conditions |
conditionsFromJson(com.google.gson.JsonObject jsonObject,
EntityPredicate.Extended extended,
AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) |
private static Block |
getBlock(com.google.gson.JsonObject root) |
Identifier |
getId() |
void |
test(ServerPlayerEntity player,
Block block,
ItemStack stack,
int beeCount) |
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, testprivate static final Identifier ID
public Identifier getId()
public BeeNestDestroyedCriterion.Conditions conditionsFromJson(com.google.gson.JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
conditionsFromJson in class AbstractCriterion<BeeNestDestroyedCriterion.Conditions>public void test(ServerPlayerEntity player, Block block, ItemStack stack, int beeCount)