Example #1
0
 @Override
 public void onAttached() {
   setHealth(10, HealthChangeReason.SPAWN);
   setMaxHealth(10);
   super.onAttached();
 }
Example #2
0
 @Override
 public void onAttached() {
   super.onAttached();
   getParent().setData(ControllerType.KEY, ControllerType.SNOWGOLEM.id);
 }