Hi, I expect i'm just being dense but I am unable to get world.spawnClone() to do anything as it just spits out "NameError: name 'world' is not defined"
Do I need to import anything anywhere? The closest I have gotten is what is said to be wrong.
from noppes.npcs.api import NpcAPI
api = NpcAPI.Instance()
new_npc = api.createNPC(world.getMCWorld())
print(type(new_npc))
But again it fails on "world".
Then I try things like:
import noppes
noppes.npcs.api.block.IBlock.getWorld()
It spits out "getWorld(): expected 1 args; got 0"
Please tell me what I'm doing wrong
MC 1.8.9
Mod Version 1.8.8/9
Forge 1.8.9-11.15.1.1722
jython-standalone-2.7.0