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(JsonObject jsonObject,
EntityPredicate.Extended extended,
AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer) |
private static Block |
getBlock(JsonObject root) |
Identifier |
getId() |
void |
test(ServerPlayerEntity player,
Block block,
ItemStack stack,
int beeCount) |
beginTrackingCondition, conditionsFromJson, endTracking, endTrackingCondition, test
private static final Identifier ID
public Identifier getId()
public BeeNestDestroyedCriterion.Conditions conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
conditionsFromJson
in class AbstractCriterion<BeeNestDestroyedCriterion.Conditions>
@Nullable private static Block getBlock(JsonObject root)
public void test(ServerPlayerEntity player, Block block, ItemStack stack, int beeCount)