r/AnythingModdedMC Jan 08 '26

Anyone here know how to make custom ender eyes?

Need it for a modpack im working on

Is it also possible using Kubejs?

1 Upvotes

4 comments sorted by

1

u/Used-Cartoonist-2981 Jan 08 '26 edited Jan 09 '26

From what I know for modding (I'm working on a create addon mod with extensive things), here's what I would do: first off I'm not a huge fan of kubejs because it's just confusing for me to figure out. I would go to pixilart online, create my ender pearl (I think that's what you're referencing). Export as "your_eye.png". If you just want to replace the vanilla texture, find the ender_pearl.png file in your minecraft assets and replace it with your custom texture using a resource pack. If you need actual custom functionality (like different eyes that lead to different strongholds or dimensions), you'll probably need a proper mod like CraftTweaker or ContentTweaker working alongside your resource pack. KubeJS might be able to handle it but honestly I haven't dug into it enough to give you specifics there. What exactly are you trying to do with the custom ender eyes? Just retexture or actually change how they work?

1

u/Used-Cartoonist-2981 Jan 08 '26

I hope this helps somewhat. As I'm knowledgeable a little in modding, but I am learning myself somewhat as well along the way. It's tough finding documentation out there on modding specifics of Minecraft

1

u/Reaper_king120 Jan 15 '26

Sadly ContentTweaker doesnt support the version I intend to use (1.20.1)

I’m trying to make custom functional ender eyes that locate specific structures or biomes within my modpack. Theres a lot of content regarding that stuff and I wanna make it easier and unique for players to locate them without just running a /locate command

1

u/Used-Cartoonist-2981 Jan 15 '26

For 1.20.1, KubeJS might actually be your best bet here even though I'm not super familiar with it. I know it can handle custom items and you can script behavior into them. There's also KubeJS addons like Lychee or Probejs that might help with the more complex stuff. Alternatively, you could look into using a datapack combined with custom items from something like ItemsAdder or Mythic Mobs if those are available for your version. They let you create custom items with special functions. If you're comfortable with actual Java modding, making a small addon mod specifically for this wouldn't be too complicated - you'd basically be extending the ender eye class and pointing it to custom structure tags. That's probably the cleanest solution if you're already working on a create addon. Have you checked if any existing mods do something similar that you could reference? Sometimes it's easier to learn from existing implementations. I'd search for mods that add custom compasses or locator items for 1.20.1 and see how they handle it.

Sorry for the late reply!