MCPcopy Create free account
hub / github.com/Teneted/Tenet / setSpawnFlags

Method setSpawnFlags

src/main/java/org/bukkit/World.java:1318–1318  ·  view source on GitHub ↗

Sets the spawn flags for this. @param allowMonsters - if true, monsters are allowed to spawn in this world. @param allowAnimals - if true, animals are allowed to spawn in this world.

(boolean allowMonsters, boolean allowAnimals)

Source from the content-addressed store, hash-verified

1316 * world.
1317 */
1318 public void setSpawnFlags(boolean allowMonsters, boolean allowAnimals);
1319
1320 /**
1321 * Gets whether animals can spawn in this world.

Callers

nothing calls this directly

Implementers 1

CraftWorldsrc/main/java/org/bukkit/craftbukkit/v

Calls

no outgoing calls

Tested by

no test coverage detected