Package net.fabricmc.fabric.api.attachment.v1
@NullMarked
package net.fabricmc.fabric.api.attachment.v1
API code for fabric-data-attachment-api-v1.
-
ClassDescriptionClass used to create and register
AttachmentTypes.A builder for creatingAttachmentTypes with finer control over their properties.A predicate that determines, for a specific attachment type, whether the data should be synchronized with a player's client, given the player'sServerPlayerand the AttachmentTarget the data is linked to.Marks all objects on which data can be attached usingAttachmentTypes.An attachment allows "attaching" arbitrary data to various game objects (entities, block entities, levels and chunks at the moment).