In minecraft-bedrock-edition, there's an achievement called "Sleep with the Fishes":
|Achievement||In-game description||Actual requirements (if different)|
|Sleep with the Fishes||Spend a day underwater.||Spend 20 minutes underwater without any air.|
To earn it, I took advantage of how magma blocks work:
When a water source is directly above a magma block, a whirlpool bubble column is created, going downward from the highest source block. Anything encountering the bubble column is pulled down, including items, boats, players, and mobs.
A player can restore breath by entering a magma block's bubble column.
However, there is a very specific component to making this plan work:
Magma blocks damage most living entities standing on top of them, even if underwater... The player can avoid all damage by sneaking, using a potion of fire resistance, or by wearing Frost Walker boots.
So, in order to not take damage, I had to find a magma block, under water, and sneak over it, for 20 minutes:
This made me wonder though, are there any other blocks that change behavior due to the state of the player? Let's define the state of the player, in the context of this post, to contain things such as:
- Sneaking, swimming, jumping, running, etc.
- Currently equipped armor/left hand slot.
- Currently held item/block.