goncalomb / NBTEditor

An in-game NBT editor for Bukkit.
http://dev.bukkit.org/bukkit-plugins/nbteditor/
GNU General Public License v3.0
40 stars 30 forks source link

Attribute to set infinite health. #34

Open mibby opened 5 years ago

mibby commented 5 years ago

Would it be possible to bring back an option to set mobs as invincible but keep their AI and allow them to be hit? This was possible with the old NBTEditor but no longer with the new one. Was useful for creating invulnerable sheep for ice hockey (no damage but allows them to be swung at / knocked back).

The invulnerable attribute prevents knockback. Before it was possible to specify unlimited health or negative values.

Combustible commented 4 years ago

You can just give the mob resistance 5 with /bos var ActiveEffects. That way you can still hit them but they won't take damage, including from fire/etc.

You can make an "infinite" resist 5 potion with something like /nbtp Resistance 5 9999999999