Skip to content

Fix hummingbird feeder sweetener tag typo#2369

Open
AlexGamero04 wants to merge 1 commit into
AlexModGuy:1.20from
AlexGamero04:1.20
Open

Fix hummingbird feeder sweetener tag typo#2369
AlexGamero04 wants to merge 1 commit into
AlexModGuy:1.20from
AlexGamero04:1.20

Conversation

@AlexGamero04

Copy link
Copy Markdown

Summary

While playing Alex's Mobs 1.22.9 on Minecraft Forge 1.20.1, I noticed that the Hummingbird Feeder accepted water bottles but never accepted sugar.

After investigating the source code, I found what appears to be a typo in the registered item tag.

The code currently registers:

registerItemTag("hummingnbird_feeder_sweeteners");

while the corresponding resource is:

hummingbird_feeder_sweeteners.json

This prevents the item tag from matching the resource, so sugar is never recognized by the feeder.

Fix

  • Corrected the registered tag name to match the JSON resource.
  • Renamed the corresponding constant references to keep the code consistent.

Tested

Tested on:

  • Minecraft Forge 1.20.1 (47.4.10)
  • Alex's Mobs 1.22.9

Verified in-game that:

  • ✅ Water bottles are accepted.
  • ✅ Sugar is accepted.
  • ✅ Hummingbirds correctly use the feeder.

Thanks for your amazing work on Alex's Mobs!
Thank you for your time and for maintaining this mod!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant