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