promotional bannermobile promotional banner

AttachmentsAPI

Allows registration of saved, synched custom data on any entity using a simple event, attachments can also be setup to allow changing from only serverside or only clientside but by default can be set by client or server
Back to Files

NeoForge 1.21.8

File nameattachments_api-1.0.1-neoforge-1.21.8.jar
Uploaded
Sep 30, 2026
Downloads
3
Size
63.7 KB
Mod Loaders
NeoForge
File ID
9023262
Type
R
Release
Supported game versions
  • 1.21.8

Curse Maven Snippet

NeoForge

implementation "curse.maven:attachments-api-1718616:9023262"

Learn more about Curse Maven

What's new

  • Updated the RegisterAttachmentsEvent register methods to return boolean instead of the ResourceLocation of the registered Attachment (or null if it failed to register)
  • Added register methods that take a ResourceLocation input directly instead of a Namespace and ID for RegisterAttachmentsEvent
  • Corrected Synching Oversights for logging in and entity loading
  • Corrected Issue where all attachments would be reset for players when changing dimensions or dying (ignoring the copyOnDeath toggle)
  • Helper Registration types are now dynamic and registered using a new event, RegisterAttachmentTypesEvent
  • Added more Registration Helpers (GlobalPos, ChunkPos, BlockPos, Vec3, UUID, VillagerData, CompoundTag, Component, BlockState, Direction, DyeColor, ItemStack)
  • Debug Command structure is now dynamically created based on the Registration Helpers (Optional, not all helpers have command support)
  • Added a static Utils class called `Attachments` to easily get, reset, set & check if present for any attachment, taking a `Object` input and using an instanceof check

(I was really tired last night when I made this mod, so i forgot alot of things i had planned to do and uploaded the mod prematurely) 

This mod has no additional files