All versions
2.1.1
Release
Custom Entity API 2.1.12 weeks ago 13
Uploaded by
Compatibility
Minecraft: Java Edition
26.2
26.1.x
1.21.9–1.21.11
Platform
Data Pack
Changes
CEAPI 2.1.1:
fixed a bunch of stuff
NEW:
- ➕ Added
ceapi:global/data_manager/write/add_data_to_storagewhich pushes whatever is in theceapi:temp argscommand storage back into the entity's storage. This allows you to add your own custom data to the storage. (Ex. I setargs.basic.UnitIDto "1", and runadd_data_to_storage. Now, if I useceapi:temp args.basicas a macro, I can useUnitID.) - ➕ Added
ceapi:global/onsummon/zzz/1bwhich creates a CEAPI entity without an entity (effectively just an AJ rig). This can be used for custom projectiles or special attacks that do not have an entity attached to them. (To use this, replacefunction ceapi:global/onsummon/zzz/1 with storage ceapi:summondata argswith justceapi:global/onsummon/zzz/1bat the end of youronspawn_ajfunction files) - ➕ Added
ceapi:motion/prep {strength:(number)}which (similarly to damage prepare) can be used to prepare and then apply motion to an entity viaceapi:motion/apply with storage ceapi:temp args.basicandceapi:motion/apply_noteammate with storage ceapi:temp args.basic
FIXES/UPDATES:
- Fixed an issue with the internal 'remove' function for CEAPI entities not working properly
- Fixed
ceapi:tools/kill_ajandceapi:tools/killnot working - Fixed using
ceapi:global/damage/applyfor AOE damage only applying the damage to one entity - Fixed walking attacks stopping idle/walk animations
- Fixed using
ceapi:global/commands/as_entityoras_modeloras_ownerin the middle of certain functions or AJ command keyframes not working - Fixed phasedata clearing the wrong temp storage on push
- Fixed
ceapi:global/health/restore/byandfullnot working and healing over the max hp of the entity - Entity locators now have the teammate tag of the owner
- I somehow forgot to give the
nomoveattribute silverfish invisibility
How To Update Your Files from 2.1.0:
- In the
functionfolder, delete:debug,global,motion,tools, andzzz. Replace them with the corresponding folders from 2.1.1.
Supplementary resources
| File | Type | Size | |
|---|---|---|---|
| ceapi_template_model.zip | Unknown | 4.65 KiB |


