Interface KubeEvent

All Known Subinterfaces:
AddEntriesKubeEvent, AddInformationKubeEvent, ClientKubeEvent, GroupEntriesKubeEvent, KubeAssetGenerator, KubeDataGenerator, KubeEntityEvent, KubeLevelEvent, KubeLivingEntityEvent, KubePlayerEvent, KubeResourceGenerator, KubeStartupEvent, RegisterSubtypesKubeEvent, RemoveCategoriesKubeEvent, RemoveEntriesKubeEvent, RemoveRecipesKubeEvent
All Known Implementing Classes:
AfterLivingEntityHurtKubeEvent, AfterRecipesLoadedKubeEvent, AtlasSpriteRegistryKubeEvent, BasicCommandKubeEvent, BeforeLivingEntityHurtKubeEvent, BlockBrokenKubeEvent, BlockDropsKubeEvent, BlockEntityRendererRegistryKubeEvent, BlockEntityTickKubeEvent, BlockLeftClickedKubeEvent, BlockModificationKubeEvent, BlockPickedKubeEvent, BlockPlacedKubeEvent, BlockRightClickedKubeEvent, BlockStartedFallingKubeEvent, BlockStoppedFallingKubeEvent, CheckLivingEntitySpawnKubeEvent, ChestKubeEvent, ClientPlayerKubeEvent, CommandKubeEvent, CommandRegistryKubeEvent, CompostableRecipesKubeEvent, CreativeTabKubeEvent, DebugInfoKubeEvent, DetectorBlockKubeEvent, DynamicItemTooltipsKubeEvent, EMIAddEntriesKubeEvent, EMIAddInformationKubeEvent, EMIRemoveEntriesKubeEvent, EntityRendererRegistryKubeEvent, EntitySpawnedKubeEvent, ExplosionKubeEvent, ExplosionKubeEvent.After, ExplosionKubeEvent.Before, FarmlandTrampledKubeEvent, FoodEatenKubeEvent, HighlightKubeEvent, InventoryChangedKubeEvent, InventoryKubeEvent, ItemClickedKubeEvent, ItemCraftedKubeEvent, ItemDestroyedKubeEvent, ItemDroppedKubeEvent, ItemEntityInteractedKubeEvent, ItemModelPropertiesKubeEvent, ItemModificationKubeEvent, ItemPickedUpKubeEvent, ItemSmeltedKubeEvent, ItemToolTierRegistryKubeEvent, JEIAddEntriesKubeEvent, JEIAddInformationKubeEvent, JEIRegisterSubtypesKubeEvent, JEIRemoveCategoriesKubeEvent, JEIRemoveEntriesKubeEvent, JEIRemoveRecipesKubeEvent, KeybindRegistryKubeEvent, KubeJSKeybinds.KeyEvent, KubeJSKeybinds.TickingKeyEvent, LangKubeEvent, LivingEntityDeathKubeEvent, LivingEntityDropsKubeEvent, MenuScreenRegistryKubeEvent, ModifyCraftingItemKubeEvent, ModifyItemTooltipsKubeEvent, NetworkKubeEvent, ParticleProviderRegistryKubeEvent, PlayerAdvancementKubeEvent, PlayerChatReceivedKubeEvent, PlayerClonedKubeEvent, PlayerRespawnedKubeEvent, PreTagKubeEvent, RandomTickKubeEvent, RecipeMappingRegistry, RecipeSchemaRegistry, RecipesKubeEvent, RegistryKubeEvent, REIAddEntriesKubeEvent, REIAddInformationKubeEvent, REIGroupEntriesKubeEvent, REIRegisterFluidSubtypesKubeEvent, REIRegisterItemSubtypesKubeEvent, REIRemoveCategoriesKubeEvent, REIRemoveEntriesCompletelyKubeEvent, REIRemoveEntriesKubeEvent, REIRemoveRecipeKubeEvent, ServerAddFluidEntriesKubeEvent, ServerAddFluidInformationKubeEvent, ServerAddItemEntriesKubeEvent, ServerAddItemInformationKubeEvent, ServerGroupFluidEntriesKubeEvent, ServerGroupItemEntriesKubeEvent, ServerKubeEvent, ServerRegisterFluidSubtypesKubeEvent, ServerRegisterItemSubtypesKubeEvent, ServerRegistryKubeEvent, ServerRemoveCategoriesKubeEvent, ServerRemoveFluidEntriesKubeEvent, ServerRemoveItemEntriesKubeEvent, ServerRemoveRecipesKubeEvent, SimpleLevelKubeEvent, SimplePlayerKubeEvent, SpecialRecipeSerializerManager, StageChangedEvent, TagKubeEvent, VirtualAssetPack, VirtualDataPack, VirtualResourcePack

public interface KubeEvent
  • Method Details

    • defaultExitValue

      @Nullable @HideFromJS default @Nullable Object defaultExitValue(dev.latvian.mods.rhino.Context cx)
    • mapExitValue

      @Nullable @HideFromJS default @Nullable Object mapExitValue(dev.latvian.mods.rhino.Context cx, @Nullable @Nullable Object value)
    • getExitValueType

      @Nullable @HideFromJS default @Nullable dev.latvian.mods.rhino.type.TypeInfo getExitValueType()
    • cancel

      @Info("Cancels the event with default exit value. Execution will be stopped **immediately**.\n\n`cancel` denotes a `false` outcome.\n") default Object cancel(dev.latvian.mods.rhino.Context cx) throws EventExit
      Throws:
      EventExit
    • success

      @Info("Stops the event with default exit value. Execution will be stopped **immediately**.\n\n`success` denotes a `true` outcome.\n") default Object success(dev.latvian.mods.rhino.Context cx) throws EventExit
      Throws:
      EventExit
    • exit

      @Info("Stops the event with default exit value. Execution will be stopped **immediately**.\n\n`exit` denotes a `default` outcome.\n") default Object exit(dev.latvian.mods.rhino.Context cx) throws EventExit
      Throws:
      EventExit
    • cancel

      @Info("Cancels the event with the given exit value. Execution will be stopped **immediately**.\n\n`cancel` denotes a `false` outcome.\n") default Object cancel(dev.latvian.mods.rhino.Context cx, @Nullable @Nullable Object value) throws EventExit
      Throws:
      EventExit
    • success

      @Info("Stops the event with the given exit value. Execution will be stopped **immediately**.\n\n`success` denotes a `true` outcome.\n") default Object success(dev.latvian.mods.rhino.Context cx, @Nullable @Nullable Object value) throws EventExit
      Throws:
      EventExit
    • exit

      @Info("Stops the event with the given exit value. Execution will be stopped **immediately**.\n\n`exit` denotes a `default` outcome.\n") default Object exit(dev.latvian.mods.rhino.Context cx, @Nullable @Nullable Object value) throws EventExit
      Throws:
      EventExit
    • afterPosted

      @HideFromJS default void afterPosted(EventResult result)