Telegraph API System

This commit is contained in:
Kam committed 2026-01-24 02:35:13 -05:00
1 parent a6b4a131c8
commit c8a2fb9824
4 files changed
+543

No files matched your search

+12
View File
@@ -30,6 +30,7 @@ import noppes.npcs.api.handler.IProfileHandler;
import noppes.npcs.api.handler.IQuestHandler;
import noppes.npcs.api.handler.IRecipeHandler;
import noppes.npcs.api.handler.IScriptHookHandler;
import noppes.npcs.api.handler.ITelegraphHandler;
import noppes.npcs.api.handler.ITransportHandler;
import noppes.npcs.api.handler.data.IAnimation;
import noppes.npcs.api.handler.data.IFrame;
@@ -177,6 +178,17 @@ public abstract class AbstractNpcAPI {
public abstract IAbilityHandler getAbilities();
public abstract ITelegraphHandler getTelegraphs();
/**
* Create a telegraph directly.
* Convenience method equivalent to getTelegraphs().create(type).
*
* @param type Type name: "circle", "ring", "line", "cone", "point"
* @return A new telegraph configuration
*/
public abstract ITelegraph createTelegraph(String type);
public abstract String[] getAllBiomeNames();
public abstract ICustomNpc<?> createNPC(IWorld var1);