28,425 Downloads Last Updated: Feb 7, 2019 Game Version: 1.12.2

CosmicNPCs gives you the ability to create player-like NPCs in your Single-player world! It works just like the Mocap Mod (Made by EchebKeso) via motion capture. In other words, you can record yourself doing whatever you want and then replay everything by spawning a NPC which does the same things you recorded.


This Mod technically IS the Mocap Mod, but slightly further developed and I will update it with more extra features in the future. There are also a few more differences in the current state. For example a Command Hotkey System for spawning the NPCs by touch of a button.


How to use:


There are 2 new commands in the Mod.


To record your actions use:

/npc-rec <File name>


Replace <File name> with the name you want as your File name.


To replay your actions use:

/npc-play <File name> <NPC name> <Texture name> [Model] {Additional Options}


(Fields with [ ] or { } are optional and can be left out if not required)


Replace <File name> with the name of the file you want to replay. <NPC name> is the Name of your NPC. You know, the name above its head and in chat messages. In <Texture name> you type the name of your NPC Skin/Texture PNG file (without the .png!) which is located in the CosmicNPCs texture folder.

You can find the texture folder at .../.minecraft/config/cosmicnpcs/assets/npctextures. Put your Minecraft Skins you want to use for the NPCs into the last folder of the path.

Warning: In Mod versions under 1.2 your Skin must have a resolution of 64x32 otherwise it will glitch! 

Similarly in versions of 1.2+ it must have a Resolution of 64x64.


New arguments in Mod versions of 1.2+ are [Model] and {Additional Options}.

[Model] allows you to specify the model for the NPC. Currently there are six models at choice:
Player, PlayerSlim, Villager, Witch, Vex and Chicken.

Just use the exact name of one of the models in the list above. //eg: /npc-play test Chicken default Chicken


{Additional Options}

This can be seen like NBT-Data as in Commands. Exactly like NBT-Data use curly braces and the argument to adjust additional options for the NPC. The syntax is like following:



The current arguments are as follows:

-ShowNameTag: Used to specify if the nametag of the npc is visible or not. Options are 0 (Not Visible), 1 (Always Visible) and 2 (Visible when looking at it).

-Invulnerable: Specify if the npc is invulnerable when attacked (And the attacking player isn't in creative mode) Options: 0 (Not Invulnerable), 1 (Invulnerable)

Complete preferences can be seperated by a comma but blank characters between them are NOT allowed.


Note: Additional Options can only be used if the model is specified.


Example: /npc-play test Steve steve Player {ShowNameTag:0,Invulnerable:1}


Command GUI:


You can open a special Command GUI with Numpad3 where you can temporarily save your replay command and execute it by using Numpad9. (Controls are customizable in options) But after pressing Numpad9 again, it will NOT execute the same command! Instead it executes the command of the next page in the GUI. So you can spawn different NPCs in a specific order. However it is planed to add a repeat function though.



Check out EchebKeso's Mocap Mod:






Posts Quoted: