### Supported Versions
**Forge: 1.16.5, 1.17.1, 1.18.2, 1.19.2, 1.19.4, 1.20.1; NeoForge: 1.20.4, 1.20.6, 1.21.1, 1.21.4, 1.21.6-1.21.8**
### Summary
**Added Carved Melon Helmets, sneak interaction with Melon Lamps, and one game rule; adjusted the naming of Melon Lamps, tags, and interaction mechanisms of Huaqiang Melon Knife and shears; fixed multiple bugs.**
# New Content
- Players can craft "Carved Melon Helmet" or "Carved Glistering Melon Helmet" by right-clicking "Carved Melon" or "Carved Glistering Melon" with shears. The wearing effects and armor points of these two helmets are consistent with those of the corresponding melon rinds.
#### Melon Lamp Interaction:
- When sneaking, right-click a Melon Lamp with a "block placeable in Carved Melon Lamps" to take out the block inside the lamp and put the held block in;
- When sneaking, right-click a Carved Melon with a "block placeable in Carved Melon Lamps" to directly put the held block into the Carved Melon;
- When sneaking, right-click a Melon Lamp with an empty hand or a block/item that cannot be placed inside to take out the block inside the lamp.
#### New Game Rule:
- **showMelonEasterEgg** (default value: true). When set to false, drinking "Enchanted Melon Potion" will no longer trigger easter egg pop-ups, preventing pop-ups from blocking the view during battles. It can be adjusted via the command **/gamerule showMelonEasterEgg**.
#### Visual Optimization:
- Improved the details of melon rind models to enhance in-game visual effects; adjusted the trigger probability of the mod logo and various avatars to make them consistent.
# Changes
### Items & Categories
- (Glistering) Carved Melons with Leishidong Lamps are no longer classified under the "Carved Melon Lamps" category, and are uniformly renamed to "Leishidong (Glistering) Melon Lamps".
- Optimized the name expression of "Partially Eaten Melon Blocks" to improve accuracy; renamed items in the "Carved Melon Lamp Series" to display item attributes in the form of "Additional Information".
- Adjusted Creative Mode Tabs: Removed the "Carved Melon Lamp Series" from the "Building Blocks" and "Better Melons" tabs, and moved them to the new tab "Decorative Melon Blocks"; among them, - "Carved Melon Lamp (Redstone Lamp Variant)" is additionally added to the "Redstone" tab.
- Optimized the English name of the exclusive enchantment for Enchanted Melon Slices to synchronize with the Chinese localization content of version 2.18.
- Adjusted the item registration names of some yellow-fleshed melons.
### Technical Adjustments
#### New Tag System
**Melon State Tags (distinguish block forms)**:
- **#qa_better_melon:melon_state_whole**: Corresponding to "Whole Melon Blocks"
- **#qa_better_melon:melon_state_bulk**: Corresponding to "Large Chunk Melon Blocks"
- **#qa_better_melon:melon_state_half**: Corresponding to "Half Melon Blocks"
- **#qa_better_melon:melon_state_quarter**: Corresponding to "Small Chunk Melon Blocks"
**Melon Type Tags (distinguish melon types)**:
- **#qa_better_melon:melon_type_ordinary**: Ordinary Melons
- **#qa_better_melon:melon_type_yellow**: Yellow-Fleshed Melons
- **#qa_better_melon:melon_type_unripe**: Unripe Melons
- **#qa_better_melon:melon_type_glistering**: Glistering Melons
- **#qa_better_melon:melon_type_enchanted**: Enchanted Melons
_ Currently, only the above 5 types of melons are supported; custom new types are not supported temporarily._
**Other Functional Tags (distinguish special attributes)**:
- **#qa_better_melon:melon_block_eatable**: Melon Blocks Edible via Right-Click
- **#qa_better_melon:melon_block_waxed**: Waxed Melon Blocks
### HQ Melon Knife Mechanism
- Reconstructed the underlying logic of "Huaqiang Melon Knife cutting melons" based on the new tag system.
- Adjusted the spawn probability of yellow-fleshed melons: the base probability is reduced to 5%, and each additional level of the "Looting" enchantment on the main-hand item increases the probability by an extra 5%.
### Shear Interaction
- When converting "Half Glistering Melons" to melon rinds with shears, an additional 2-4 gold nuggets will drop.
- When converting "Half Enchanted Melons" to melon rinds with shears, an additional 3-7 gold nuggets will drop.
- When carving "Whole Glistering Melon Blocks" or "Whole Enchanted Melon Blocks" into "Carved Glistering Melons" with shears, an additional 5-9 gold nuggets will drop.
- The drop quantities mentioned above are not affected by the "Fortune" enchantment.
### Legacy Version Compatibility (Important)
- For the adjustment of Melon Lamp item registration names, a temporary compatibility mechanism is adopted: Placed Carved Melon Lamps and items of this type in the player's inventory will be automatically converted to the version with the new registration name (the conversion detection for items in the player's inventory is only triggered when the player joins the world to reduce the impact on game operation).
- The validity period of the compatibility upgrade function is [3.0.0-rc, 3.1.0). Please upgrade the mod version in a timely manner to avoid item loss.
# Bug Fixes
- Fixed the issue where placing "Partially Eaten Melon Blocks" in Creative Mode reduces item stacks.
- Fixed the issue where Enchanted Melon Stairs are placed in an unexpected direction.
- Fixed the issue where shears incorrectly convert Carved Melon Lamps and "Small Chunk Melon Blocks" to melon rinds, and fail to convert "Half Melon Blocks" to melon rinds.
- Fixed the issue where "Partially Eaten Melon Blocks" fail to replace and place when the target position has replaceable blocks.
- Fixed the issue where Waxed Unripe Melon Blocks lose wax after placement.
- Fixed the functional issue where "Ordinary Melon Stairs" cannot be waxed.
- Fixed the issue where "Leishidong Melon Lamps" and "Leishidong Glistering Melon Lamps" do not work properly in Forge 1.17.1.
- Fixed the issue where Carved Melon Helmets have abnormal model display in Forge 1.16.5.
- Fixed the issue where right-clicking Waxed Melon Blocks with an axe in the off-hand fails to remove the wax layer.
- Fixed the abnormal issue where when waxing melon blocks with honeycombs in the main/off-hand, occasionally the held honeycombs are not consumed, but non-held honeycombs in the inventory are consumed instead.
- Fixed the hard-coded restriction on main/off-hand item detection in the waxing operation of some melon blocks; adjusted to be compatible with all items under the tag #qa_better_melon:waxitems.
- Fixed the issue where when eating the last Enchanted Melon Slice in a stack, the exclusive enchantment effect of Enchanted Melons does not trigger.
- Fixed the incorrect name issue of some melon-type items.
- Reverted the name change of "Glistering Melons" from version 2.14.
- Reverted the placement direction adjustment of "Partially Eaten Melon Blocks" from version 25w37a-1201.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }