mojira.dev
MC-202770

Llama spit is destroyed after hitting some blocks vertically

The bug

Llama Spit entities are always destroyed when coming into contact with anything other than air.

How to reproduce

(Make sure player is in survival, and difficulty is set to easy, or higher)

  1. Load the following structure into your world:

[media]
  1. Stand on the red block:

    [media]
  2. Run the following command:

    /damage @e[type=minecraft:llama,distance=0..10,limit=1] 0.5 minecraft:player_attack by @p

Observed results

The llama spit particle will collide with the tall grass, and be destroyed. Because of this, the player will not be damaged.

Expected results

The llama spit would go through the tall grass, and damagethe player.

Notes

While the current behavior does technically make logistical sense-- that being, llama spit in real life would colide with anything-- it does have an effect on gameplay. It is much harder for llamas to be able to spit on the player if the projectile will almost always hit something.

Linked issues

Attachments

Comments 5

Whoever is reviewing this, please when you try and reproduce it remember that the llama spit particles are not where the llama spit actually is, they are just an effect from the llama spitting. Whoever reviewed MC-202638 did not know this and I would like to request that it is re-checked.

I can't reproduce this.

Is uploading world files normal and acceptable?

Yes, it's totally fine to upload your test world. Though I can reproduce this issue with the reproduce steps given, so it's okay not to upload your world ;D

Requesting ownership of this isuse. Original poster is innactive since 2020, and has not kept up with it.

joe schmoe

[Mod] Jingy

(Unassigned)

Confirmed

Projectiles

collision, llama_spit

1.16.3, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 1.20.2, 23w41a, 1.20.4

Retrieved