All versions
2.1.0
Release
Custom Entity API 2.1.0last month 29
Compatibility
Minecraft: Java Edition
26.2
26.1.x
1.21.9–1.21.11
Platform
Data Pack
Changes
CEAPI 2.1.0:
The Data Seperation Update
BREAKING CHANGES:
- 🚨Summon and PhaseData command storage has been split up into different keys in order to avoid several collision issues I discovered. They are now located at
ceapi:summondataandceapi:phasedata. This will break any existing 2.0.0 and below phasedata files! See bottom of changelog for how to fix.
FIXES/UPDATES:
- Fixed
OwnerUUIDgetting immediately cleared after running a mob'ssummonand thenonspawn_aj. - Fixed Reaction attack locator not running properly
How To Update Your Files from 2.0.0:
While I recommend just viewing the template phasedata files, these are instructins on how to update your phasedata files to work with 2.1.0.
- In the
functionfolder, delete:debug,global,motion,tools, andzzz. Replace them with the corrosponding folders from 2.1.0. - In all phasedata files, replace all instances of
ceapi:temp args.phasedatawithceapi:phasedata args. (Recommend using Visual Studio Code for this.) - In all phasedata files, replace all instances of
function ceapi:global/data_manager/write/send_phasedata_to_storage with storage ceapi:temp argswithfunction ceapi:global/data_manager/write/send_phasedata_to_storage with storage ceapi:phasedata args. (Recommend using Visual Studio Code for this.) - In all phasedata files, replace all instances of
function ceapi:global/data_manager/preparewithfunction ceapi:global/data_manager/prepare_macro {location:'ceapi:phasedata args.id'}. (Recommend using Visual Studio Code for this.) - In all onspawn_aj files, replace all instances of
ceapi:temp args.summondatawithceapi:summondata args
Remove the below two lines from any CEAPI entity onspawn_aj files and move it to the top of their summon functions.
#clear any temp data (DO NOT MODIFY)
data remove storage ceapi:summondata args
Supplementary resources
| File | Type | Size | |
|---|---|---|---|
| ceapi_template_model.zip | Unknown | 4.65 KiB |


