Jump to content

neumond

Members
  • Posts

    3
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

neumond's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Solved. Things are much more easier than I thought. 1. Take cloner tool, use it on NPC. In opened dialog remember "tab" and "name" parameters, choose server side and save. 2. Now just world.spawnClone(x, y, z, tab, name) e.g.: world.spawnClone(90, 109, 465, 1, 'Ristai')
  2. Oh, I'm trying to do wrong thing. Just found actual (for me) version of API: https://github.com/Noppes/CustomNPCsAPI/tree/1.8.0/noppes/npcs/api from noppes.npcs.api import NpcAPI api = NpcAPI.Instance() new_npc = api.createNPC(world.getMCWorld()) print(type(new_npc)) Currently it gives me NPCWrapper instance without errors. Trying further..
  3. Hi, thank you for amazing mod you've made. But I've tried lots of things to spawn NPCs from my script and this just didn't work, mod just ignores (continuing execution without any stacktraces/messages) world.spawnClone, npc.executeCommand. Tried even doing "noppes npc Name create" from command block, but this wrote "Player only" inside interface of command block as last error message. How can I spawn NPC from my python scripts?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.