
Что это
You don't want to create mixins for each project over and over again for the same events.
- Тип: мод
- Загрузчик: fabric, quilt
- Версии Minecraft: 1.19 – 1.20.4
- Скачиваний на Modrinth: 1 590
Подробно
You don't want to create mixins for each project over and over again for the same events you could just use in the good old paper days. This is why we created this spectacular library/mod, where we just have to add the events once and can use them in every other project!
For this we use alert, a blazing fast event listening utility. See alert's documentation on how to listen to events.
Add the following to your mod's build.gradle.kts file: gradle repositories { mavenCentral() }
dependencies { // ... modImplementation("de.hglabor:notify:1.1.3") }
Then put the built jar file of notify into your mods folder. You should be able to subscribe to the events like this: kotlin // (On the server) subscribeToEvent { logger.info("Player ${it.player.name.string} joined") }
Events currently implemented Subscribing to events on the client is not tested! (server/common events should work on the server)
- PlayerAttackEntityEvent - PlayerHungerChangeEvent - PlayerItemPickupEvent - PlayerPlaceBlockEvent - PlayerSlotClickEvent
- PlayerBreakBlockEvent - PlayerDeathEvent - PlayerInteractItemEvent - PlayerInteractBlockEvent - PlayerItemDropEvent: called when a player attempts to drop an item - PlayerItemDroppedEvent: called after an item was dropped - PrePlayerJoinEvent: called before a player joins the server - PlayerJoinEvent: called when a player joins the server. Allows modification of the join message - PostPlayerJoinEvent: called after a player joins the server - PlayerRemoveEvent: called after a player got removed from the player list - PlayerQuitEvent: called when a player quits the server. Allows modification of the quit message - PlayerSwapHandItemsEvent - PlayerTickEvent - PlayerSetSettingsEvent: called e.g. when player changes client language - EntitySpawnEvent - ProjectileHitEvent: called when a projectile hits another entity
Как установить
Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.
Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.
Комментарии 0
Комментарии к этому материалу отключены.
Читайте также
Brapi
A Fast UI Rendering Library for Fabric mods. Border radius, gradients, textures and text. 06.12.2026
Bingo
Minecraft Bingo Plugin inspired by mgvpri 06.12.2026
[BTW Addon] Schematica
Allows for schematics to be created of your builds, so its easier to build again or share! 06.12.2026
Power Farm
Electrified farming for Farmers Delight: powered sprinklers, harvesters, ranching, beekeeping, and Tech Reborn-compatible energy. 06.12.2026
Teleporting Totem
Inspired by Unstable. Often called the Wifies' Totem or the Null Totem. 06.12.2026
Rare Loot Mod
Every block and mob has a 10% chance to drop a random end-game item on top of its normal loot. 06.12.2026