Release 1.30.0 - #296
Merged
Merged
Conversation
Kelp growth fires BlockSpreadEvent for the new KELP tip, but the old tip's conversion to KELP_PLANT is a plain neighbour-shape update with no Bukkit event, so the old KELP was never decremented and counts only ever grew. Treat the two as one material, like BAMBOO_SAPLING/BAMBOO: - VARIANT_MAP normalises KELP_PLANT to KELP, making the eventless tip-to-stalk conversion count-neutral - KELP joins STACKABLE and the break cascade compares canonical plant keys, so breaking the base of a mixed KELP_PLANT/KELP column decrements every segment, and stacked-plants-count-as-one counts a kelp column as a single plant - Config limit keys are canonicalised, so variant names such as KELP_PLANT or CHIPPED_ANVIL configure the working canonical limit Fixes #294 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CMYP4U4v7vUvf3guZ1ejhG
An admin report: at 12/12 bees, bees stored in hives could never come out — every release attempt was cancelled by the limit check, the server kept the bee as a hive occupant and retried every few ticks, spamming "Bee spawning limited to 12!" at nearby players and permanently trapping the bees. A bee leaving its hive is not a new bee: its count was decremented when it entered (EntityRemoveEvent ENTER_BLOCK) and the MONITOR tracker re-increments on exit, so the enter/exit cycle is net-zero. Exempt SpawnReason.BEEHIVE from the limit check while keeping the exit counted. If a placed hive item carries stored (never-counted) bees, the island can end slightly over its limit, which simply blocks further spawns and breeding until the population drops. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015uo8XWUxGr6VEn4TRRQ6YB
Let bees exit hives even when the island is at its bee limit
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015uo8XWUxGr6VEn4TRRQ6YB
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Release 1.30.0.
🤖 Generated with Claude Code
https://claude.ai/code/session_015uo8XWUxGr6VEn4TRRQ6YB