Package net.neoforged.neoforge.attachment
@ParametersAreNonnullByDefault
package net.neoforged.neoforge.attachment
-
ClassDescriptionImplementation class for objects that can hold data attachments.Version of the
AttachmentHolder
that is suitable for storing in a field.Represents a data attachment type: some data that can be added to any object implementingIAttachmentHolder
.Custom comparator for data attachments, to improve efficiency compared to the defaultObjects.equals(serializer.write(first), serializer.write(second))
implementation.An object that can hold data attachments.Serializer for data attachments.