Skip to content

Releases: NhanAZ-Plugins/BlockGenerator

BlockGenerator v0.0.3

Choose a tag to compare

@NhanAZ NhanAZ released this 10 Oct 06:59
v0.0.3
870d63e

BlockGenerator v0.0.3

This release updates block selection and water checks for Axolotl-PM 5. The PHAR no longer needs libBedrock.

Changes

  • Block names are resolved with Axolotl-PM's built-in item parsers. Existing supported names and legacy item IDs remain accepted.
  • Positive percentages still need to total 100. Selection now uses cumulative weights, so a very small percentage does not allocate a very large block list.
  • interact replaces water directly beside a fence. nonInteract fills an air gap beside the fence when water is two blocks away.
  • A delayed task checks the fence, water, and target again before placing a block. It leaves a block alone if the target has changed.
  • Invalid block names, percentages, modes, and delays stop startup with a clear error.

The configuration keys are unchanged. Back up plugins/BlockGenerator/config.yml before upgrading if you customized it. A rollback can use the previous PHAR and your saved configuration.

Verification

  • PHPStan at maximum level passed against Axolotl-PM source 5.0.0 and the pinned 5.49.1 source.
  • Tests covered direct water contact, the air gap mode, source water, delayed placement, bounded weight storage, and invalid block names.
  • The PHAR was built and inspected with DevTools, then enabled on an isolated Axolotl-PM 5.49.1 server and stopped without errors.

No connected client gameplay test was performed. Compatibility with every intermediate Axolotl-PM 5.x release has not been established.