Package net.fabricmc.fabric.api.attachment.v1
package net.fabricmc.fabric.api.attachment.v1
-
ClassDescriptionClass used to create and register
AttachmentType
s.A builder for creatingAttachmentType
s 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'sServerPlayerEntity
and the AttachmentTarget the data is linked to.Marks all objects on which data can be attached usingAttachmentType
s.An attachment allows "attaching" arbitrary data to various game objects (entities, block entities, worlds and chunks at the moment).