Interface CommonFabricEvent

All Known Subinterfaces:
ClientFabricEvent, RegistryEventFabric, ServerFabricEvent
All Known Implementing Classes:
AttachCapabilitiesEventFabric, BlockBreakEventFabric, BlockInteractEventFabric, BlockNotifyNeighborEventFabric, BlockPlaceEventFabric, BlockPlaceMultiEventFabric, CameraSetupEventFabric, ClientConnectedEventFabric, ClientDisconnectedEventFabric, ClientRespawnEventFabric, ClientTickEventFabric, CropGrowPostEventFabric, CropGrowPreEventFabric, CustomTickEventFabric, EntityEnteringChunkEventFabric, EntityJoinWorldEventFabric, EntityStruckByLightningEventFabric, ExplosionDetonateEventFabric, ExplosionStartEventFabric, FluidCreateSourceEventFabric, FluidPlaceEventFabric, FogColorsEventFabric, FogDensityEventFabric, FogRenderEventFabric, FOVModifierEventFabric, FOVUpdateEventFabric, HarvestBlockDropsEventFabric, InputClickEventFabric, InputKeyEventFabric, InputMouseEventFabric, ItemTooltipEventFabric, LivingAttackedEventFabric, LivingDamageEventFabric, LivingDeathEventFabric, LivingFallEventFabric, LivingHealEventFabric, LivingHurtEventFabric, LivingItemUseFinishEventFabric, LivingItemUseStartEventFabric, LivingItemUseStopEventFabric, LivingItemUseTickEventFabric, LivingJumpEventFabric, LivingKnockbackEventFabric, LivingUpdateEventFabric, LoadSoundEventFabric, LootingLevelEventFabric, MouseScrollEventFabric, PlayerAdvancementEventFabric, PlayerBreakSpeedEventFabric, PlayerChangedDimensionsEventFabric, PlayerChangeGamemodeEventFabric, PlayerChangeXPEventFabric, PlayerCheckHarvestEventFabric, PlayerCloneEventFabric, PlayerCraftedItemEventFabric, PlayerInteractBlockEventFabric, PlayerInteractEmptyEventFabric, PlayerInteractEntityEventFabric, PlayerInteractEntitySpecificEventFabric, PlayerInteractItemEventFabric, PlayerLevelChangeEventFabric, PlayerLoadFromFileEventFabric, PlayerLoggedInEventFabric, PlayerLoggedOutEventFabric, PlayerNameFormatEventFabric, PlayerNameTabFormatEventFabric, PlayerPickupItemEventFabric, PlayerPickupXPEventFabric, PlayerPunchBlockEventFabric, PlayerPunchEmptyEventFabric, PlayerPunchEntityEventFabric, PlayerPunchItemEventFabric, PlayerPushOutOfBlocksEventFabric, PlayerRespawnEventFabric, PlayerSaveToFileEventFabric, PlayerSleepInBedEventFabric, PlayerSmeltedItemEventFabric, PlayerStartTrackingEventFabric, PlayerStopTrackingEventFabric, PlayerTickEventFabric, PlayerVisibilityEventFabric, PlaySoundEventFabric, PlaySoundSourceEventFabric, PlayStreamingSoundSourceEventFabric, PotentialSpawnsEventFabric, RawMouseEventFabric, RegisterBlockEntitiesEventFabric, RegisterBlocksEventFabric, RegisterCommandsEventFabric, RegisterEntitiesEventFabric, RegisterItemsEventFabric, RegisterModelsEventFabric, RegisterSoundEventsFabric, RenderOverlayBlockEventFabric, RenderOverlayBossEventFabric, RenderOverlayChatEventFabric, RenderOverlayPostEventFabric, RenderOverlayPreEventFabric, RenderOverlayTextEventFabric, RenderTickEventFabric, RenderWorldLastEventFabric, ServerTickEventFabric, SetAttackTargetEventFabric, SoundSetupEventFabric, SpawnPortalEventFabric, TrampleFarmlandEventFabric, WorldCreateSpawnPosEventFabric, WorldLoadEventFabric, WorldSaveEventFabric, WorldTickEventFabric, WorldUnloadEventFabric

public interface CommonFabricEvent
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
     
    createEventProxy(mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.EventType<?> type)
     
    net.fabricmc.fabric.api.event.Event<?>
     
    default void
     
    static <T> void
    register(mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<?> wrapper, net.fabricmc.fabric.api.event.Event<T> event, mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.EventType<?> type)
     
    default void
    registerInvoke(mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.EventType<?> type, Object... args)
     
    default boolean
    registerReturn(mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.EventType<?> type, Object... args)
     
    default <T> Function<Object[],T>
    wrapArrayGetter(int index)
     
    default <T> Function<Object[],T>
    wrapArrayGetter(int index, Class<T> clazz)
     
  • Method Details

    • register

      static <T> void register(mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<?> wrapper, net.fabricmc.fabric.api.event.Event<T> event, mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.EventType<?> type)
    • cancel

      default void cancel()
    • createEventProxy

      default InvocationHandler createEventProxy(mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.EventType<?> type)
    • getEventInstance

      net.fabricmc.fabric.api.event.Event<?> getEventInstance()
    • register

      default void register()
    • registerInvoke

      default void registerInvoke(mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.EventType<?> type, Object... args)
    • registerReturn

      default boolean registerReturn(mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.EventType<?> type, Object... args)
    • wrapArrayGetter

      default <T> Function<Object[],T> wrapArrayGetter(int index, Class<T> clazz)
    • wrapArrayGetter

      default <T> Function<Object[],T> wrapArrayGetter(int index)