Jump to content
  • 0

How do I Edit a Mob's Stats?


M_osiac

Question

I'm working on an rpg/box server right now, and I just can't figure out how to edit a mob's stats via script.

The main thing I can't figure out is how to give a specific zombie better stats and armour than the rest. For example, there will be multiple zombie areas, with varying stats and armour. I'm just wondering how to give those mobs the specific stats and armour that I want.

Another less important thing I want to know is how to make those specific zombie types spawn from a mob spawner. If it's not possible, a command block would still work the same.

Edited by M_osiac
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

This should go in the skript forum but yeah.

You can usually edit the base stats of a mob through NBT data (will be a long tutorial for you to go through...)

Also `set max health of last spawned zombie to 100` or equivalant, has always worked for me in regards to health.

rose city STICKER

RosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaR

i code, animate, develop, UI design, learn, and adapt, as well as make servers, of course

💐Joined Minehut sometime in 2014
💐VIP sometime in 2018
💐Legend in January 2021
💐Helper on 4/11/2021
💐♥ (Retired) on 5/17/2021
💐 Moderator on 8/18/2023

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...