
Custom Portal API Reforged
Библиотечный мод для Forge, портированный с Fabric, который позволяет разработчикам легко создавать кастомные порталы в свои измерения. Полная настройка рамки, цвета, зажигания и точки назначения.
Оцените первым
126.9K
12
Список изменений
v1.2.2
✨ New Features
-
Added Ignite Events
- Implemented
PortalIgniteEventandPortalPreIgniteEventinterfaces. - Included corresponding handlers and invokers.
- 🔧 These events allow:
- Executing custom logic before and after portal ignition.
- Cancelling the ignition entirely, if desired.
- Implemented
-
Player Entity in Ignite Context
- The player is now included as part of the ignition source in item-use events.
- ✅ Matches upstream behavior.
- 🔍 Enables event consumers to identify which player attempted to light the portal.
⚠️ Breaking Change
- Fixed Item Usage Behavior on Failed Portal Lighting
customportalapi-reforgedpreviously cancelled item usage when ignition failed, which is opposite of upstream behavior.- This has been reversed: item usage is now only cancelled if the portal is successfully lit.
- Example: Using an Eye of Ender to light a portal will no longer cause it to fly off and possibly break—it will be consumed only when ignition succeeds.
Credit murderspagurder for this PR!
Файлы
cpapireforged-neo-1.21.1-1.2.2.jar(91.94 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.2.2
Загрузчики
NeoForge
Версии игры
1.21.1
Загрузок
16.3K
Дата публикации
08.07.2025
