Record Class ItemStackAttachments

java.lang.Object
java.lang.Record
net.ixdarklord.coolcatcore.internal.attachment.ItemStackAttachments
All Implemented Interfaces:
AttachmentHolder

public record ItemStackAttachments(net.minecraft.world.item.ItemStack stack) extends Record implements AttachmentHolder
  • Constructor Details

    • ItemStackAttachments

      public ItemStackAttachments(net.minecraft.world.item.ItemStack stack)
      Creates an instance of a ItemStackAttachments record class.
      Parameters:
      stack - the value for the stack record component
  • Method Details