Paper icon indicating copy to clipboard operation
Paper copied to clipboard

Mobs can see you and deal damage through blocks

Open aaronfilarca opened this issue 4 years ago • 4 comments

Expected behavior

They can't deal damage

Observed/Actual behavior

They deal damage and can even draw line of sight.

Steps/models to reproduce

  1. Make Paper server
  2. Make a cage with 1x2x1 space inside it.
  3. Add a half block on top of the inside of the cage and trapdoor so spiders wont escape
  4. Spawn spiders
  5. Allow the spiders to see you
  6. Go into cover
  7. Despair
  8. Wait for a few seconds
  9. Spiders can't hit you no more
  10. Joy

Plugin and Datapack List

Plugins (0):

(We run Paper for the sake of performace improvements and bug fixes)

Paper version

This server is running Paper version git-Paper-155 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT) (Git: 99cf01f) You are running the latest version Previous version: git-Paper-154 (MC: 1.18.1)

aaronfilarca avatar Jan 17 '22 07:01 aaronfilarca

So it really turns out that they both deal damage in vanilla and in paper if you let them see you first using slabs and trapdoors to keep them inside then go into cover but only for 3 seconds then they'll forget you and don't hit you. But they don't hit you if they didn't see you first.

aaronfilarca avatar Jan 17 '22 14:01 aaronfilarca

So this is a Minecraft bug. But it will be nice if Paper fixes this. Please :)

aaronfilarca avatar Jan 17 '22 14:01 aaronfilarca

do you have a mojira for this?

MiniDigger avatar Jan 17 '22 14:01 MiniDigger

do you have a mojira for this?

https://bugs.mojang.com/browse/MC-2310

aaronfilarca avatar Jan 17 '22 14:01 aaronfilarca

Should be fixed by vanilla in 1.20.2+

Warriorrrr avatar Jan 09 '24 05:01 Warriorrrr