• Alexander Hartmann's avatar
    Extend spawn command (#1777) · 08f36195
    Alexander Hartmann authored
    
    
    * add missing EntityTypes
    
    * small command refactorings and improvements
    * move common command patterns and methods to CommandHelpers
    * let the spawn command detect the entityType instead of spawning every entity as EntityVehicle
    * add extra options for spawning gadgets for better debuging and testing
    
    * More spawn command additions and cleanups+EntityVehicle changes
    * Moved remaining patterns from GiveCommand and ClearCommand to CommandHelpers
    * Added patterns for hp, maxhp, atk, def and (monster)ai for the spawn command
    * Moved intParam parsing via regex to the CommandHelpers
    * Read most of EntityVehicle stats from the ConfigGadget instead of hardcoding them
    Co-authored-by: default avatarhartie95 <mail@hartie95.de>
    08f36195
CommandHelpers.java 2.34 KB