mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-15 19:34:49 +00:00
Scripting for Attribute Handling on Players, Items, Totals, etc
This commit is contained in:
1 parent
7f5ba9a1c4
commit
9691c90ffc
13 files changed
+242
-46
No files matched your search
@@ -3,6 +3,7 @@ package noppes.npcs.scripted;
|
||||
import cpw.mods.fml.common.Loader;
|
||||
import cpw.mods.fml.common.eventhandler.EventBus;
|
||||
import foxz.command.ScriptedCommand;
|
||||
import kamkeel.npcs.controllers.AttributeController;
|
||||
import kamkeel.npcs.controllers.ProfileController;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.command.CommandHandler;
|
||||
@@ -261,6 +262,10 @@ public class NpcAPI extends AbstractNpcAPI {
|
||||
return PartyController.Instance();
|
||||
}
|
||||
|
||||
public IAttributeHandler getAttributeHandler() {
|
||||
return AttributeController.Instance;
|
||||
}
|
||||
|
||||
public ITransportHandler getLocations() {
|
||||
return TransportController.getInstance();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user