6

From Minecraft Wiki:

The cloud starts with a radius of 3 blocks, decreasing to 0 over the course of 30 seconds. During the time the cloud is there, any player or mob that walks into it after the first second will get the corresponding status effect; this decreases the radius by 0.5 block immediately, causing the cloud to disappear more quickly.

At most how high should a player be (the player's Y position) from the cloud of Lingering Potion in order to be considered inside the radius, thus getting the effect?

1 Answer 1

7

All that matters for the player's Y position is whether or not their hitbox intersects with the AreaEffectCloud entity's hitbox. This does mean that your head being within the cloud also counts, rather than just your feet.

The cloud's hitbox height will always be 0.5 blocks, regardless of radius. For comparison, the player's hitbox will be 1.8 blocks tall under normal circumstances, 1.65 when sneaking, 0.2 while dead or sleeping, or 0.6 while gliding with elytra.

You can view hitboxes by pressing F3 + b. Image example, where the player is intersecting with the cloud:

Hitbox example

3
  • Might be worth adding the player hitbox's size: "The player is 1.85 blocks tall, and 1.65 blocks tall when sneaking." according to the wiki.
    – MrLemon
    Apr 18, 2016 at 14:59
  • @MrLemon Added, though I have checked the source using MCP (for both 1.8 and 1.9) and the player's height is 1.8 instead of 1.85.
    – Skylinerw
    Apr 18, 2016 at 15:08
  • 2
    I edited the wiki. It was correctly given as 1.8 in the history section.
    – MrLemon
    Apr 18, 2016 at 17:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .