mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 05:34:44 +00:00
Telegraph API System
This commit is contained in:
1 parent
a6b4a131c8
commit
c8a2fb9824
4 files changed
+543
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user