Release 4B
GP Legacy | Experimental Mob AI
Release 4B Unstable (GP Release 7-4)
Additions
Datafixer
- Added Datafixer which will upgrade an already existing mob which Experimental AI affected in past releases,
- Datafixer cannot downgrade mobs that have been upgraded.
Jumping
- Added new type:
sprint_roofed_jumpThis is used for farther away gaps that have a roof.
Changes
Performance
- Improved Tick performance by reducing the number of selectors,
- Raycasts for Sprint Jumping now use a return,
- Predicates now used to check if the mob is on a ground, if it's in a liquid and if it has a target,
- Replaced local coordinates (^ ^ ^) that only affected the y position with world coordinates (~ ~ ~)
- Improved performance of the raycasting of jumping,
- Reduced number of selectors when entities jump,
- Removed redundant tags and replaced most tags with scores,
- Checks for types of jumps heavily optimized and simplified while keeping functionality,
- replaced
tp (selector) (pos)withtp (pos)
Functionality
- Mobs now run their custom behaviours on their targeted entity instead of a random player,
- Sprinting is now based on attributes instead of effects with the sprint boost being accurate (0.3 multiplied total)
- Sprinting has a duration and delay now,
- Creepers can lunge as many times as needed until target is lost or itself is dead,
- Sprint jumping borrows from Glacier Players and is now more accurate,
- Mobs dont use their modified behaviour when on a vehicle.
Compatibility
- All tags are now namespaced
- Smithed conventions are used (Datapack ignores smithed mobs normally but can support if they have the tag
expai.force_custom_behaviour)