eeeee banner
eeeee icon

eeeee

I want to create a mod for my Pixelmon 1.21.1 server. I want the mod to add a function to the Pokédex item that allows scanning a Pokémon and viewing its IVs...

00
pixelmon-neoforgeServer1.21.1mod

eeeee mod notes

  • Added a server-only Pixelmon addon that lets players scan a Pokemon with the Pokedex to view its IVs and EVs.
  • Right-click a Pixelmon entity with the Pokedex in your main hand to receive chat messages showing each stat's IV/EV plus totals.
  • The mod listens on the server interaction event only; no client assets or registries are introduced, keeping it compatible with Pixelmon servers without extra client files.
  • Uses Pixelmon's existing Pokedex item (pixelmon:pokedex) and reads the Pokemon data directly from the entity for accurate values.
  • Known limits: only works when interacting directly with a Pixelmon entity, and messaging is text-only; it does not change the default Pokedex GUI or other interactions.