Temporary public mirror of MythicRealms' client-side compatibility fixes for Pixelmon Reforged 9.2.10 (Minecraft 1.20.2 / Forge).
Pixelmon 9.2.10 ships two client-side bugs that affect the MythicRealms modpack. Neither is fixed upstream for this version and neither is reachable through config or a public API — the broken logic lives inside compiled Pixelmon client code. So we ship one bytecode-patched Pixelmon jar and one small companion mod. Both are client-side only.
Official Pixelmon 9.2.10 jar with one in-jar ASM bytecode patch
(pixelmon-1.20.2-external-move-target).
Issue: block-targeted external move skills — e.g.
Forage — can silently do nothing. Pixelmon's client
target ray-trace (TargetKeyBinding#getTarget) picks the player's
own sent-out Pokémon as the nearest entity. UseMoveSkillKey
recognises it's your own Pokémon and refuses to target it, but
block-targeted skills never fall back to the block ray-trace, so the keypress
appears dead.
Why a patch: the defect is in compiled client code with no
config or hook to override. The patch inserts a single guard into
TargetKeyBinding#getTarget(boolean, double) that ignores the
client's currently-selected party Pokémon during external-move
targeting, so the ray-trace can reach the block behind it. It's applied as a
bytecode rewrite (not a source fork) so it tracks the official jar exactly and
fails loudly if Pixelmon's bytecode shape changes.
A tiny client-side Forge mixin mod. Drop it in mods/ alongside
Pixelmon — it does not replace the Pixelmon jar.
Issue: PC search / SingleSelect crash. Pixelmon 9.2.10
PCMode#drawPosition dereferences getPokemon(position)
with no null check. Hovering an empty PC slot during a search returns null,
Pokemon#isFainted() throws a NullPointerException,
and the client crashes.
Fix: a Mixin null-guard at the head of
drawPosition that cancels the draw for an empty slot (an empty
slot simply renders nothing extra). Shipped as a separate mod because it only
adds a guard — the Pixelmon jar itself doesn't need rewriting.
These are narrow compatibility patches built and tested only for the MythicRealms Arclight 1.20.2 / Pixelmon 9.2.10 client stack. They deliberately fail rather than silently mis-patch if the expected bytecode is absent. No Pixelmon source is redistributed — the ASM patch is applied to an official jar you must already be entitled to use. Temporary mirror; may be removed without notice.