Package com.wdiscute.starcatcher.io
Class SCDataAttachments
java.lang.Object
com.wdiscute.starcatcher.io.SCDataAttachments
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Supplier<net.nikdo53.neobackports.io.attachment.AttachmentType<FishingBobAttachment>>static final net.minecraftforge.common.capabilities.Capability<SCDataAttachments.FishingBobAttachmentCap>static final Supplier<net.nikdo53.neobackports.io.attachment.AttachmentType<FishingGuideAttachment>>static final net.minecraftforge.common.capabilities.Capability<SCDataAttachments.FishingGuideAttachmentCap>static final Supplier<net.nikdo53.neobackports.io.attachment.AttachmentType<net.minecraft.resources.ResourceLocation>>static final net.minecraftforge.common.capabilities.Capability<SCDataAttachments.TackleSkinAttachmentCap> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Tget(net.minecraft.world.entity.Entity holder, Supplier<net.nikdo53.neobackports.io.attachment.AttachmentType<T>> attachmentType) static <T> Tget(net.minecraft.world.entity.Entity holder, net.nikdo53.neobackports.io.attachment.AttachmentType<T> attachmentType) static voidregister(net.minecraftforge.eventbus.api.IEventBus eventBus) static <T> voidremove(net.minecraft.world.entity.Entity holder, Supplier<net.nikdo53.neobackports.io.attachment.AttachmentType<T>> attachmentType) static <T> voidremove(net.minecraft.world.entity.Entity holder, net.nikdo53.neobackports.io.attachment.AttachmentType<T> attachmentType) static <T> voidset(net.minecraft.world.entity.Entity holder, Supplier<net.nikdo53.neobackports.io.attachment.AttachmentType<T>> attachmentType, T data) static <T> voidset(net.minecraft.world.entity.Entity holder, net.nikdo53.neobackports.io.attachment.AttachmentType<T> attachmentType, T data)
-
Field Details
-
FISHING_BOB_CAP
public static final net.minecraftforge.common.capabilities.Capability<SCDataAttachments.FishingBobAttachmentCap> FISHING_BOB_CAP -
FISHING_BOB
public static final Supplier<net.nikdo53.neobackports.io.attachment.AttachmentType<FishingBobAttachment>> FISHING_BOB -
FISHING_GUIDE_CAP
public static final net.minecraftforge.common.capabilities.Capability<SCDataAttachments.FishingGuideAttachmentCap> FISHING_GUIDE_CAP -
FISHING_GUIDE
public static final Supplier<net.nikdo53.neobackports.io.attachment.AttachmentType<FishingGuideAttachment>> FISHING_GUIDE -
TACKLE_SKIN_CAP
public static final net.minecraftforge.common.capabilities.Capability<SCDataAttachments.TackleSkinAttachmentCap> TACKLE_SKIN_CAP -
TACKLE_SKIN
public static final Supplier<net.nikdo53.neobackports.io.attachment.AttachmentType<net.minecraft.resources.ResourceLocation>> TACKLE_SKIN
-
-
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)
-