Advanced XRay (Neoforge Edition)

Advanced XRay (Neoforge Edition)

5M Downloads

XRay Mobs and Animals?

SpeTheof opened this issue ยท 12 comments

commented

There are tons of survivals i am struggling to find the closest animals, would be great to see something like this using your xray mod. I know this is more like a suggestion but i didn't know where to post. Will we be able to see something like that? Or do you know any mod that does something similar to find animals?

commented

Hey has there been any updates on this? I didn't see any open PRs regarding mob xray and was wondering if anything ever happened of this idea. I would LOVE a mob xray if it has been or will be added. Thanks :)

EDIT: I apologize, I've found the entity outline branch for 1.16. Any chance that could be updated to work with 1.19.3 fabric? Its alright if not, but would be much appreciated if so :)

commented

That would be pretty interesting to do, I may give it a go :D although don't expect too much. There is always things like client side maps that can show you shit.

commented

I hope you will do it =D I need it so much

commented

I've been having a look into a lot of other mods that do this to see what I can find. It's a pretty complex render but luckily Minecraft dev's have already done most of the work. I'm not too sure on when I will get the chance to add this due to it being a lot of work because I'd want to give the players options on what to select and what sort of highlight they would like so I'll keep the issue up until I've sorted it out :D

commented

Boxes, Lots of boxes. Lets just draw a box around the animal.

commented

Chunks give a list of the entities they contain.
Entities give their position and bounding box.
I think that's all we need.

Displaying mobs should not be a problem. Managing the config to know which mob to track is :)
I've already started to work on the config (storing names, import old versions so people who update don't loose their settings, fixing a few issues here and there). Once done, we add mobs! :)

commented

Sound perfect. I can work on the ui if you wanna set up the core code then that would be great.

commented

Did you guys come up with anything yet?

commented

It's in progress.

commented

Here is the feature plan for how mobs will work:

  • Live render of mob when hovered on mob name in list
  • A new Gui for adding mobs with a dynamic render of the mob you wish to add
  • Logically a Outline of the whole mobs model would be the most logical thing to do to show the mob.
  • Full Mod support
  • A way to select mobs with specific meta
  • Separate Radius to normal Xray
  • Radius menu to display toggle options of [mobs, XRay, Caves]
  • Add Icon for overlay
commented

Well, what would be cool is to have entity xray, like minecart chests

commented

It actually does already work with mine cart chests if you tell it too. It's a pretty dynamic system :P