Jump to content

An entity is within the player's FOV (1.19.2).


jstHope

Recommended Posts

Good morning,
I want to know if an entity is in the FOV of a player.
I searched forums and there was a function EntityLiving#canEntityBeSeen that would do what I need.
Does anyone know what has become of this function since? (I work in 1.19.2)
Or an alternative?
Thank you in advance and good day !

Link to comment
Share on other sites

if you are porting from a super-old version, go to https://discord.neoforged.net/, and then to bot-commands channel. you can use bot there to find out the mojang name of the old function, and then to find the new name.

let's not get into details of me giving you a link to a discord channel of a forge fork. it's the only place i know of that can translate between obfuscated names, mojang names and mcp names.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.