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

Method spawn

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

Spawn an entity of a specific class at the given Location @param location the Location to spawn the entity at @param clazz the class of the Entity to spawn @param the class of the Entity to spawn @return an instance of the spawned Entity @throws IllegalAr

(@NotNull Location location, @NotNull Class<T> clazz)

Source from the content-addressed store, hash-verified

1170 * {@link Entity} requested cannot be spawned
1171 */
1172 @NotNull
1173 public <T extends Entity> T spawn(@NotNull Location location, @NotNull Class<T> clazz) throws IllegalArgumentException;
1174
1175 /**

Callers

nothing calls this directly

Implementers 1

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

Calls

no outgoing calls

Tested by

no test coverage detected