Reforges ⭕ Create Custom Reforges ✅ Item Modfiers ✨ Reforge Stones, GUI, NPC Support

MC Plugin Reforges ⭕ Create Custom Reforges ✅ Item Modfiers ✨ Reforge Stones, GUI, NPC Support 6.57.1
Custom item buffs and reforge stones with an intuitive GUI.

- Fixed slots (Thanks OfTeN!)
- Fixed the plugin erroring out on startup in recent versions
- Reforges now uses the slot system (adds more slots) - If you have reforgable talismans, make sure to set the slot to 'talisman'
- Reforges will now work when used by entities
- Fixed give_permission causing errors with NPCs
- Added Model Engine integration: play_animation effect
- API: Added EntityProvidedHolder
- Added this_item filter
- Added /libreforge debug command
- Fixed broadcast effect
- API: Added TypedHolderProvider<T>, TypedProvidedHolder<T>, and further improved ItemHolderFinder
- API: Added Dispatcher#getHoldersOfType<T: Holder>(): Collection<T>
- Fixed potential memory leak with entities
- Fixed custom biomes integration (Thanks OfTeN!)
- Fixed location_to_drop mutator (Thanks OfTeN!)
- Fixed transmission effect
- Fixed add_holder, add_holder_in_radius, add_holder_to_victim, and add_permanent_holder_in_radius not inheriting base holder placeholders
- Fixed several bugs with placeholders in effects / conditions / etc
- Fixed nested chains not working properly
- Fixed holder placeholders not working with permanent effects
- Several other bugfixes and stability improvements
- Added custom biomes integration with Terra (Thanks OfTeN!)
- Added location_to_drop mutator (Thanks OfTeN!)
- Added missing add_global_points effect
- Added complete_advancement trigger
- Added advancements filter
- Added has_completed_advancement condition
- Added smith_item trigger
- Added open_crafting effect
- Added TAB integration: has_scoreboard_visible, has_boss_bar_visible
- Added new `Dispatcher` interface. A dispatcher can represent a Player, Entity, Block, or even the Server.
- Holders (e.g. Enchantment Levels, Talismans, EcoItems) are no longer held by Players, but by Dispatchers
- Chains / Effects are now triggered by Dispatchers
- Conditions are now checked against Dispatchers
- Triggers are now triggered by Dispatchers

For Developers:
- Deprecated most core API methods and replaced them with new Dispatcher-based methods: e.g. `registerHolderProvider` has been replaced with `registerSpecificHolderProvider<T>` and `registerGenericHolderProvider`
- `Effect#onEnable` and `Effect#onDisable` have had the player versions deprecated and replaced with new versions that take Dispatchers. Update your effects!
- `Condition#isMet` has had the player version deprecated and replaced with a new version that takes a Dispatcher
- All methods like `Player#holders`, `Player#updateHolders`, etc. have been deprecated and replaced with `Dispatcher<*>#holders` etc.

To convert between an `Entity` and a `Dispatcher`, just do `Entity#toDispatcher` - the core flow and most method names have remained the same.

Your existing Effects, Conditions, etc. will still work, however you should update them ASAP as the old methods will eventually be removed!
Top Bottom