Ender Compass (EnderCompass)

Ender Compass (EnderCompass)

72.5k Downloads

Ender Compass cannot locate Repurposed Structures's strongholds

TelepathicGrunt opened this issue ยท 0 comments

commented

Hello! I am the dev for Repurposed Structures. My mod has 2 new Stronghold Structures with one that replaces the vanilla one if the player doesn't change my config. The other is a Nether Stronghold lol
https://www.curseforge.com/minecraft/mc-mods/repurposed-structures

What I do is I mixin into the Eyes of Ender to get the positions of my strongholds as well and make the pearl fly towards the closest stronghold of any kind. I believe you can do something similar in your mod as well.
https://github.com/TelepathicGrunt/RepurposedStructures/blob/master/src/main/java/com/telepathicgrunt/repurposedstructures/mixin/EnderEyeStrongholdLocatingMixin.java

Cyclic is another mod that has a new item that track strongholds and they added compat with my mod like this without ever needing to make a hard dependency.
trunksbomb/Cyclic@1541787#diff-0a48648e6ff4ccf24270983fb9bb67d1a33a393483b688fd2aa66fe93cdb7ba4R54

I hope this helps! Let me know if you need help with adding compat.

(also, do note, Yungs is making a BetterStronghold mod too so you may need to add compat for his mod when it is released in the future. Just giving you a heads up!)