Package net.fabricmc.fabric.api.attachment.v1
package net.fabricmc.fabric.api.attachment.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'sServerPlayerEntityand 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, worlds and chunks at the moment).