Interface SCLDataAttachments
public interface SCLDataAttachments
-
Field Summary
Fields -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <T> Tget(net.minecraft.world.entity.Entity holder, Supplier<net.neoforged.neoforge.attachment.AttachmentType<T>> attachmentType) static <T> Tget(net.minecraft.world.entity.Entity holder, net.neoforged.neoforge.attachment.AttachmentType<T> attachmentType) static voidregister(net.neoforged.bus.api.IEventBus eventBus) static <T> voidremove(net.minecraft.world.entity.Entity holder, Supplier<net.neoforged.neoforge.attachment.AttachmentType<T>> attachmentType) static <T> voidremove(net.minecraft.world.entity.Entity holder, net.neoforged.neoforge.attachment.AttachmentType<T> attachmentType) static <T> voidset(net.minecraft.world.entity.Entity holder, Supplier<net.neoforged.neoforge.attachment.AttachmentType<T>> attachmentType, T data) static <T> voidset(net.minecraft.world.entity.Entity holder, net.neoforged.neoforge.attachment.AttachmentType<T> attachmentType, T data)
-
Field Details
-
ATTACHMENT_TYPES
static final net.neoforged.neoforge.registries.DeferredRegister<net.neoforged.neoforge.attachment.AttachmentType<?>> ATTACHMENT_TYPES -
IN_FISHING_MINIGAME
-
ITEMS_BEING_FISHED
-
-
Method Details
-
remove
static <T> void remove(net.minecraft.world.entity.Entity holder, Supplier<net.neoforged.neoforge.attachment.AttachmentType<T>> attachmentType) -
remove
static <T> void remove(net.minecraft.world.entity.Entity holder, net.neoforged.neoforge.attachment.AttachmentType<T> attachmentType) -
set
static <T> void set(net.minecraft.world.entity.Entity holder, Supplier<net.neoforged.neoforge.attachment.AttachmentType<T>> attachmentType, T data) -
set
static <T> void set(net.minecraft.world.entity.Entity holder, net.neoforged.neoforge.attachment.AttachmentType<T> attachmentType, T data) -
get
static <T> T get(net.minecraft.world.entity.Entity holder, Supplier<net.neoforged.neoforge.attachment.AttachmentType<T>> attachmentType) -
get
static <T> T get(net.minecraft.world.entity.Entity holder, net.neoforged.neoforge.attachment.AttachmentType<T> attachmentType) -
register
static void register(net.neoforged.bus.api.IEventBus eventBus)
-