[0.5.0-beta1] - 2025-01-18
This update for 1.20.1+ is firstly build using the multi-loader project setup. With this the file name format changed
- from
yawp-<mc-version>-<yawp-version>-<modloader>.jar
- to
yawp-<mc-version>-<modloader>-<yawp-version>.jar
To make this multi-loader project setup possible it was necessary to restructure huge parts of the mod. But it brings some great advantages for the future:
- Code Reusability: Core features and logic are now unified across mod loaders Forge and Fabric (and 1.21+ NeoForged), reducing duplication of effort
- Unified Development: Streamlined development process with a single codebase, simplifying version control and updates for both platforms
- Faster Development: Platform-agnostic features are implemented once, speeding up development across mod loaders
- Shared Resources: Assets, configs, and data files are now shared across mod loader platforms, reducing project size and redundancy
Added
- Add new flags:
no-sign-edit
,snow-melt
,snow-fall
,fluid-flow
,lava-flow
,water-flow
. Thanks to Magnus Jensen aka. legenden#7526! - New iteration of the programming API. This includes new events, an API to query regions, change them and save them.
- Added new flag events:
AddFlagEvent
, fired when a flag is added to a region. This is just an info event, its values can't be changed, and it can not be canceled.RemoveFlagEvent
, fired when a flag is removed from a region. This is just an info event, its values can't be changed, and it can not be canceled.UpdateFlagMessageEvent
, fired when the flag message for a flag is changed. This can be used to edit the message to implement e.g. a profanity filter.
- Add and exposed first iteration of a Permission API
- Exposed command constants in api package
- Expose API to build YAWP console commands
- Add Builders to create Local Region, Area and Flag instances.
- Add API to get Global and query/manage Dimensional Regions
- Add Dimensional Region API to query and manage Local Regions of a dimension
- Add builder to easily create multiline and pagination text components. This might be further polished and extracted into the API. Currently, this is located in
de.z0rdak.yawp.util.text
. - Add new mod logo
Changed
- Switch whole project to use the official mojang mapping instead of yarn mappings
- Update some flag lang keys to highlight the flag name in blue color
- Overhaul building of text components for the CLI by adding a whole abstraction layer.
- Separated building of text components from building CLI links, removing many code duplicates.
- Ditched forge suggestion for versioning schema. It's now back to https://keepachangelog.com/en/1.0.0/
- Change configs from server to common type. This means that config should no longer be synced to clients. As it should be. The clients will have the config by default, but it will be useless for them.
Fixed
- Fix animal and monster check to exclude/include monster horses correctly
- Fix
explosions-entities
andexplosions-blocks
not working correctly - Fix
fall-damage-players
not working correctly - Fix
no-pvp
flag not checking for damage source to be a player
Removed
- Remove old mod logo
- Remove
other-explosion-blocks
flag (was redundant) - Remove
other-explosion-entities
flag (was redundant)
[0.0.4.1-beta5] - 2024-10-09
Fixed
- Fix error
This position is not loaded
when trying to create a region or changing region area.
[0.0.4.1-beta4] - 2024-10-04
Fixed
- [Fabric] Fix NPE caused by null entity in mixin for ServerLevel::explode
[0.0.4.1-beta3] - 2024-10-04
Added
- Add option to only log certain FlagStates for FlagCheckResults (Allowed and/or Denied)
Changed
- Formatting of flag messages can now be done by using
&
and§
as prefix. E.g.:"You are &cnot&r allowed to break blocks here, &9{player}&r!"
or"You are §cnot§r allowed to break blocks here, §9{player}§r!"
Fixed
- [Fabric] Fix 'spawning-*' flags preventing all entities from spawning
- Fix wrong FlagCheckResult state being logged
[0.0.4.1-beta2] - 2024-09-23
Fixed
- [Fabric] Fix
use-elytra
flag not working - [Fabric] Fix
set-spawn
flag not working - [Fabric] Fix
sleep
flag not working
[0.0.4.1-beta3] - 2024-10-04
Added
- Add option to only log certain FlagStates for FlagCheckResults (Allowed and/or Denied)
Changed
- Formatting of flag messages can now be done by using
&
and§
as prefix. E.g.:"You are &cnot&r allowed to break blocks here, &9{player}&r!"
or"You are §cnot§r allowed to break blocks here, §9{player}§r!"
Fixed
- [Fabric] Fix 'spawning-*' flags preventing all entities from spawning
- Fix wrong FlagCheckResult state being logged
[0.0.4.1-beta1] - 2024-09-20
Added
- Add Traditional Chinese localization. Thank you very much @dirttw!
- Debug logging for flag checks and most player related flags.
- Add config for logging. You are able to log only certain flags or flag categories.
- [Fabric] Add
place-fluid
andscoop-fluid
flag, bringing flag consistency with forge version of the mod.
Changed
- The
lightning
flag now also prevents lightning strikes not hitting entities, prevents creation of fire blocks and de-oxidation of copper blocks. These additional features may be split in separate flags down the road. - The
access-container
flag now considers all entities implementing the vanilla inventory (like Minecarts with chests). - The mod file now includes the license, readme, credits and this changelog.
Fixed
- Fix bug which prevented removing from child regions with sphere area type
- Fix undo link for flag state setting
- Fix incorrect MAX and MIN defaults for expand command to be correct for the corresponding minecraft version.
- Fix some smaller CLI issues and typos
- [Fabric] Fix
exe-command
flag not working - [Fabric] Fix
place-block
flag preventing interacting with entities/blocks. - [Fabric] Fix inventory desync when using
place-blocks
flag.