Skip to content

Your first NPC ​

A model NPC ​

  1. Make or download a model in Blockbench and save it as .bbmodel. Give its animations clear names, for example idle and interact.
  2. Put the file in plugins/AnimatedBB/models/, for example models/guard.bbmodel.
  3. Load it:
    /abb models reload
    The first time, its textures are uploaded to MineSkin; the console shows the progress.
  4. Stand where the NPC should be and create it:
    /abb create guard model guard
    guard (the first one) is the NPC's id; model is its type; guard (the last one) is the model's name.
  5. Choose its animations:
    /abb animation guard idle idle
    /abb animation guard interact wave
    The first line loops idle all the time; the second plays wave when it is clicked.

A normal NPC ​

A player NPC with a skin, from a player name or an image URL:

/abb create steve normal Notch

Make it do something when clicked ​

/abb interaction guard right add [message] <green>Halt, {player}!
/abb interaction guard right add [playsound] entity.villager.no 1 1

See Interactions for everything it can do.

Fine tuning ​

CommandDoes
/abb move_here guardMoves it to you
/abb rotate guard 90Turns it
/abb setscale guard 1.5Bigger or smaller
/abb lookclose guard 6It turns to look at players within 6 blocks
/abb setname guard <gold>GuardIts name over the head
/abb editor guardA menu with all of it