mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-12 13:44:28 +01:00
19 lines
399 B
Java
19 lines
399 B
Java
package net.minestom.server.event.entity;
|
|
|
|
import net.minestom.server.event.Event;
|
|
import net.minestom.server.instance.Instance;
|
|
|
|
public class EntitySpawnEvent extends Event {
|
|
|
|
private Instance spawnInstance;
|
|
|
|
public EntitySpawnEvent(Instance spawnInstance) {
|
|
this.spawnInstance = spawnInstance;
|
|
}
|
|
|
|
public Instance getSpawnInstance() {
|
|
return spawnInstance;
|
|
}
|
|
|
|
}
|