Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Landing on falling entities does not count as landing on blocks #8

Open
BoatMeat opened this issue Oct 20, 2020 · 2 comments
Open

Landing on falling entities does not count as landing on blocks #8

BoatMeat opened this issue Oct 20, 2020 · 2 comments
Labels
difficulty:medium type:bug Something isn't working

Comments

@BoatMeat
Copy link

Describe the bug
Falling from any height onto a claimed anvil that is rapidly having a piston extend and retract underneath it will make it so that when a player lands on it they will take no fall damage, and will instead jitter violently on top of the anvil until the step off of it, which will cause them to take the intended fall damage. A player can interact with their surroundings normally while on top of the anvil and can easily place a bed and set their spawn. This is not 100% consistent but works better if the contraption is lower in a section.

To Reproduce
Steps to reproduce the behavior:

  1. Place a block, then place an anvil on top of that block and claim it with a sign.
  2. remove the block, the anvil should completely vanish when block is removed, and place a piston so that when it extends the head will be underneath where the anvil used to be visible.
  3. attach a fast redstone clock to the piston and activate it, this will cause the anvil to begin blinking rapidly as the piston extends and retracts underneath it.
  4. Fall from any distance onto the anvil, you will not stop on top of it and begin to jitter up and down, from there you can easily place and sleep in a bed. If you walk off of the anvil, you will take the fall damage equivalent to the distance you fell.

Expected behavior
You should take fall damage instantly.

Screenshots
Video: https://youtu.be/nX2JEjTJDlw

Additional context

@0ffz
Copy link
Member

0ffz commented Oct 21, 2020

I am somehow both impressed and disappointed in your creativity.

@Boy0000 Boy0000 transferred this issue from MineInAbyss/Issue-Tracker Mar 2, 2021
@0ffz 0ffz changed the title Landing on a falling claimed anvil will negate fall damage until the player steps off the anvil, allowing them infinite time to use a bed to set their spawn after falling any distance Landing on falling entities does not count as landing on blocks Mar 4, 2021
@0ffz 0ffz added difficulty:medium type:bug Something isn't working labels Mar 4, 2021
@0ffz
Copy link
Member

0ffz commented Mar 4, 2021

The best solution i can think of is probably to rework our system to use something other than builtin velocity.

Minecraft velocity is super inconsistent, for instance flying doesnt actually set the velocity afaik, so something like gliding down on an elytra and slowly tilting yourself up will eventually trigger ALL the damage. I have a feeling the velocity remains unchanged in this senario and damage doesnt trigger.

Really what we're interested in is dealing damage upon high acceleration, i.e. when there's a great change in velocity over a small period of time. It may be worth calculating this ourselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty:medium type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants