# Mannequin summon TEMPLATE
# Usage notes:
# - AI (brain) = minecraft:husk -> keeps tags, armor, death/detect tags, invisibility, team
# - LOOKS (visual) = minecraft:mannequin -> Invulnerable, holds mainhand/offhand only, receives item_display passengers
# - Do NOT give armor to the husk AI or to the LOOKS; AI must be armor-free. LOOKS holds mainhand/offhand only and receives chest-display passengers
# Replace <NAME>, <TAG>, <DISPLAY_ITEM>, <SCALE>, <HEALTH>, <MAINHAND_NBT> as needed.

# --- AI (husk) ---
summon husk ~ ~ ~ {CustomName:[{text:"<NAME>",color:dark_purple}],Health:<HEALTH>,PersistenceRequired:1b,Tags:["demonslayer","hashira","<TAG>","kny_mob"],Team:demon_slayer,Silent:1b,active_effects:[{id:invisibility,duration:99999999,amplifier:5,show_particles:0b}],equipment:{mainhand:<MAINHAND_NBT>},attributes:[{id:scale,base:<SCALE>},{id:max_health,base:<HEALTH>}],Passengers:[{id:marker,Tags:["<TAG>_deathdetector","deathdetector","despawncounter","demonslayers"]}]}

# --- LOOKS (mannequin) ---
# Holds mainhand/offhand and chest-display item_display passengers
summon minecraft:mannequin ~ ~ ~ {CustomName:[{text:"<NAME>",color:dark_purple}],hidden_layers:[cape],hide_description:1,profile:{texture:"entity/demonslayer",model:wide},active_effects:[{id:resistance,duration:99999999,amplifier:255,show_particles:0b}],Invulnerable:1b,PersistenceRequired:1b,Tags:["<TAG>_looks"],Silent:1b,Team:demon_slayer,equipment:{mainhand:<MAINHAND_NBT>},attributes:[{id:scale,base:<SCALE>}],Passengers:[{id:"minecraft:item_display",item:{id:"minecraft:stick",components:{item_model:"<DISPLAY_ITEM>"}},item_display:"firstperson_righthand",transformation:[1f,0f,0f,0f,0f,1f,0f,0f,0f,0f,1f,0f,0f,0f,0f,1f],Tags:["<TAG>_chest_display"]}] }

# End of template — copy & replace placeholders in the target summon file.