mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-25 15:44:30 +00:00
15 lines
412 B
Java
15 lines
412 B
Java
package kamkeel.npcs.controllers.data.ability;
|
|
|
|
import net.minecraft.entity.Entity;
|
|
|
|
/**
|
|
* Interface for routing entity spawn/kill calls during preview mode.
|
|
* In preview mode, entities are not added to the world but instead
|
|
* tracked by the GUI for rendering in the 3D viewport.
|
|
*/
|
|
public interface PreviewEntityHandler {
|
|
void onEntitySpawned(Entity entity);
|
|
|
|
void onEntityRemoved(Entity entity);
|
|
}
|