I had some time and did this through the browser so wasn't able to test this. Since the field requires an ArrayList, I assume list had to be mutable. So did List.of to make list of the strings easily and then feed that to arraylist.
Should help prevent people from being confused as to why they cannot beat my boss by preventing it from getting scaled health by default. Helps server as an example too for how to exclude modded entities.
I had some time and did this through the browser so wasn't able to test this. Since the field requires an ArrayList, I assume list had to be mutable. So did List.of to make list of the strings easily and then feed that to arraylist.
Should help prevent people from being confused as to why they cannot beat my boss by preventing it from getting scaled health by default. Helps server as an example too for how to exclude modded entities.