This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Anyone know how to modify mob values like health, damage, speed, spawn rate etc... with datapacks? Is it possible?
Quote from auroruspl» Anyone know how to modify mob values like health, damage, speed, spawn rate etc... with datapacks? Is it possible?
Please post command related questions in the command section (found here: https://www.minecraftforum.net/forums/minecraft-java-edition/redstone-discussion-and/commands-command-blocks-and)
you don't need a data pack for this as you can do it with /data. Example:
/data merge entity @e[type=sheep,limit=1,sort=nearest] {Health:7f}
(keep in mind that you cannot change the value to something higher than the max health value for that entity)
Command block engineer // Developer // #TeamTrees
Anyone know how to modify mob values like health, damage, speed, spawn rate etc... with datapacks? Is it possible?
Please post command related questions in the command section (found here: https://www.minecraftforum.net/forums/minecraft-java-edition/redstone-discussion-and/commands-command-blocks-and)
you don't need a data pack for this as you can do it with /data. Example:
(keep in mind that you cannot change the value to something higher than the max health value for that entity)
Command block engineer // Developer // #TeamTrees