Class AttachmentRegistry

java.lang.Object
net.fabricmc.fabric.api.attachment.v1.AttachmentRegistry

@Experimental public final class AttachmentRegistry extends Object
Class used to create and register AttachmentTypes. To quickly create AttachmentTypes, use one of the various createXXX methods:

For finer control over the attachment type and its properties, use create(Identifier, Consumer) to get and configure a AttachmentRegistry.Builder instance.