[MCPE-11128] Ghast attack range is beyond players view distance Created: 22/Oct/15  Updated: 24/Nov/15  Resolved: 13/Nov/15

Status: Resolved
Project: Minecraft (Bedrock codebase)
Component/s: None
Affects Version/s: 0.12.2
Fix Version/s: None

Type: Bug
Reporter: Dan Bryant
Resolution: Won't Fix Votes: 0
Labels: None

Confirmation Status: Unconfirmed
Platform: Phone - Windows Phone - Other (Specify in description)

 Description   

Depending on the settings for "Render Distance" and "FOV", the player could be attacked by a Ghast that is "invisible".

Reproducible:

  • Very rare given that Ghasts are very rare in game now.

Steps to reproduce:

  1. Set "Render Distance" to far.
  2. Set "FOV" to short.
  3. Run around nether.
  4. Watch skies for fireballs without any visible Ghast in site.

Retry changing "Render Distance" (1) and "FOV" (2) to find the most offending setting.

Expected / Desired behavior:

  • Ghasts should have their attack distance truncated to some fraction of the players field of view.

Rationale:

  • Phone hardware is varied, and it is important to allow players to lower render distance and FOV to increase performance. Leaving the Ghast attach range where it is would penalize those that don't have top notch HW.

Attachments:

  • None, given that the Ghast spawn rate is so low.


 Comments   
Comment by rplatham [ 24/Nov/15 ]

Just to follow up: chunk update radius in MCPE does not change when you change the render distance setting​. This is as expected (i.e. this is not a bug as far as I can tell). I've tested by, at the smallest (and then again at the greatest render distances): waiting at one end of a long line of wheat seedlings for the seedlings to grow to wheat. At both extreme render distances, the line of crops grew (and thus chunks updated) up to 80 blocks (5 chunks) down the line from the player and there after, there were just seedlings (blocks in chunks that did not update). At shortest render distance (4 chunk radius) the chunk update radius is 1 chunk greater than the render distance, but those blocks still update as expected even if you can't see'em at shortest render distance.

Why this matters for Ghasts
The above is probably the reason why you can get attacked by a ghast that you can't see when on the shortest render distance. Ghasts can attack players in line of sight up to 100 blocks away (source), but beyond 80 blocks away, they are outside the chunk update radius so they wouldn't be updated to check if they can see a player and should attack. When the render distance is lowest (4 chunks = 64 blocks), ghasts in the 64-80 block distance (5 chunks away from players) are not visible but update and will attack a player in their line of sight.

Comment by Dan Bryant [ 17/Nov/15 ]

@rplatham No problem... just thought I would log it so its in the database.

Comment by rplatham [ 13/Nov/15 ]

Hey D4n13, I've resolved as won't fix for now. Probably doesn't work as intended, but the alternative (reducing Ghast attach distance based on render & FOV) seems exploitable.

Comment by Dan Bryant [ 02/Nov/15 ]

Looks like feature requests go through the Forum. I've posted there as well.

If MODs / DEVs feel this is not a bug... feel free to close.

Comment by Samuel Kyletoft [ 01/Nov/15 ]

This isn't a bug, it's a feature request.

Generated at Sat Jan 11 14:50:54 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.