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,
JsonDeserializationContext jsonDeserializationContext) |
private static Block |
getBlock(JsonObject root) |
Identifier |
getId() |
void |
test(ServerPlayerEntity player,
Block block,
ItemStack stack,
int beeCount) |
beginTrackingCondition, endTracking, endTrackingCondition, grant, testprivate static final Identifier ID
public Identifier getId()
public BeeNestDestroyedCriterion.Conditions conditionsFromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
@Nullable private static Block getBlock(JsonObject root)
public void test(ServerPlayerEntity player, Block block, ItemStack stack, int beeCount)