Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ender Compass cannot locate Repurposed Structures's strongholds #4

Open
TelepathicGrunt opened this issue Feb 27, 2021 · 0 comments
Open

Comments

@TelepathicGrunt
Copy link

TelepathicGrunt commented Feb 27, 2021

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!)

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

No branches or pull requests

1 participant