Skip to content

Conversation

@wesleyegbertsen
Copy link

@wesleyegbertsen wesleyegbertsen commented Jan 2, 2026

General Remarks

I've been playing on a self-hosted Minecraft server with my little brother. Since it's self hosted on a NAS, the lightweight nature of squaremap is really nice. I noticed though that some mobs were not showing with this addon in the map viewer. So I've made some changes to support all missing mobs.

Summary

  • Expanded the mobs addon to support all mobs through Minecraft 1.21.11.
    • Used the following documentation to validate mobs that needed to be added: https://jd.papermc.io/paper/1.21.11/org/bukkit/entity/EntityType.html
    • Some icons I got from the project mentioned in Support for other friendly mobs #126 (comment). Other icons I've created via Gimp with the actual mob texture of the game. The Nautilus were the most challenging to create, since their texture are really modular, I did my best with their icons...
    • Added mobs:
      • Allay
      • Armadillo
      • Axolotl
      • Breeze
      • Camel
      • Camel Husk
      • Creaking
      • Frog
      • Glow Squid
      • Goat
      • Happy Ghast
      • Nautilus
      • Parched
      • Sniffer
      • Tadpole
      • Warden
      • Zombie Nautiulus
  • Also added already missing passive/neutral entries (bat, bee & donkey) in allowed-mobs.
    • They were already supported if you just added them to allowed-mobs (the icons files were there too already), but they were not part of the default list of allowed-mobs. Since the default list implies it's all passive/neutral mobs by default. I added these mobs to the default list.
  • Added a README for the mobs addon and clarified wildcard usage.
  • Fix incorrect addon name in warning logs of Icons.register
  • Renamed aboveSurface to belowSurface to match behavior.
    • The actual code checks if the Y location of the mob is lower than the hightest block Y location of the XZ location of the mob. So the function name was misleading.
  • Removed the trader_llama.png:Zone.Identifier file.
    • This would make a git clone fail on Windows at least.
      • error: invalid path 'addons/mobs/src/main/resources/icons/trader_llama.png:Zone.Identifier'
  • Bumped the mobs addon version to 1.1.0-SNAPSHOT

Testing

I've built the mobs plugin on my machine, and tested the changed plugin on my self hosted server on my NAS. So actually spawned in newly added mobs, to verify if shown in the map viewer.

@wesleyegbertsen
Copy link
Author

I've enabled the workflows on the fork I did on this repository, noticed I missed some mobs so added them and those changes triggered the build workflows. So if anyone is interested in already using the updated mobs plugin, you can find the as of this moment latest ran workflow here: https://github.com/wesleyegbertsen/squaremap-addons/actions/runs/20685005220 and download the build artifacts. Or just download the build artifacts via this link: https://github.com/wesleyegbertsen/squaremap-addons/actions/runs/20685005220/artifacts/5015426045

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