Class SCDataAttachments

java.lang.Object
com.wdiscute.starcatcher.io.SCDataAttachments

public class SCDataAttachments extends Object
  • Field Details

  • Constructor Details

    • SCDataAttachments

      public SCDataAttachments()
  • Method Details

    • remove

      public static <T> void remove(net.minecraft.world.entity.Entity holder, Supplier<net.nikdo53.neobackports.io.attachment.AttachmentType<T>> attachmentType)
    • remove

      public static <T> void remove(net.minecraft.world.entity.Entity holder, net.nikdo53.neobackports.io.attachment.AttachmentType<T> attachmentType)
    • set

      public static <T> void set(net.minecraft.world.entity.Entity holder, Supplier<net.nikdo53.neobackports.io.attachment.AttachmentType<T>> attachmentType, T data)
    • set

      public static <T> void set(net.minecraft.world.entity.Entity holder, net.nikdo53.neobackports.io.attachment.AttachmentType<T> attachmentType, T data)
    • get

      public static <T> T get(net.minecraft.world.entity.Entity holder, Supplier<net.nikdo53.neobackports.io.attachment.AttachmentType<T>> attachmentType)
    • get

      public static <T> T get(net.minecraft.world.entity.Entity holder, net.nikdo53.neobackports.io.attachment.AttachmentType<T> attachmentType)
    • register

      public static void register(net.minecraftforge.eventbus.api.IEventBus eventBus)