mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-15 18:24:51 +00:00
Scripting for Effects and Profiles
This commit is contained in:
1 parent
ce1f652d53
commit
d7d968bf86
13 files changed
+18
-126
No files matched your search
@@ -2,6 +2,7 @@ package noppes.npcs.scripted;
|
||||
|
||||
import cpw.mods.fml.common.eventhandler.EventBus;
|
||||
import foxz.command.ScriptedCommand;
|
||||
import kamkeel.npcs.controllers.ProfileController;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.command.CommandHandler;
|
||||
import net.minecraft.entity.Entity;
|
||||
@@ -241,6 +242,10 @@ public class NpcAPI extends AbstractNpcAPI {
|
||||
|
||||
public INaturalSpawnsHandler getNaturalSpawns() { return SpawnController.Instance; }
|
||||
|
||||
public IProfileHandler getProfileHandler() { return ProfileController.Instance; }
|
||||
|
||||
public ICustomEffectHandler getCustomEffectHandler() { return CustomEffectController.Instance; }
|
||||
|
||||
public ITransportHandler getLocations() {
|
||||
return TransportController.getInstance();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user