Controllable NPCs: Difference between revisions

From Citizens Wiki

No edit summary
No edit summary
 
Line 1: Line 1:
Controllable NPCs are created using the /npc controllable command. For tricky to mount mob types like the EnderDragon, the /npc mount command puts you on the NPC. Otherwise, right click to mount an NPC and sneak + right click while riding to get off.
Controllable NPCs are created using the /npc controllable command. For tricky to mount mob types like the EnderDragon, the <code>/npc mount</code> command puts you on the NPC. Otherwise, right click to mount an NPC and sneak + right click while riding to get off.


Land mobs are controlled using the standard movement controls. Sneak + left click to jump.
Land mobs are controlled using the standard movement controls. Sneak + left click to jump.
Air mobs move towards your cursor.
Air mobs move towards your cursor.


To toggle between land and air you can use /trait configure controllable -g for ground and -f for flying.
To toggle between land and air you can use <code>/traitc controllable -g</code> for ground and -f for flying.


Controllable NPCs also respect your NPC's speed, so you can use /npc speed 2 to go faster while mounted.
Controllable NPCs also respect your NPC's speed, so you can use /npc speed 2 to go faster while mounted.

Latest revision as of 03:17, 25 November 2018

Controllable NPCs are created using the /npc controllable command. For tricky to mount mob types like the EnderDragon, the /npc mount command puts you on the NPC. Otherwise, right click to mount an NPC and sneak + right click while riding to get off.

Land mobs are controlled using the standard movement controls. Sneak + left click to jump. Air mobs move towards your cursor.

To toggle between land and air you can use /traitc controllable -g for ground and -f for flying.

Controllable NPCs also respect your NPC's speed, so you can use /npc speed 2 to go faster while mounted.