mojira.dev
MC-262139

Piglins rapidly raise and lower their weapon while attacking if an unreachable gold item is nearby

https://clips.twitch.tv/PlacidPatientDunlinTinyFace-TU8ad4OOZfPFawZU

The angriest piglin ever, fails to reload his crossbow after starting the reload animation when he falls. Only completes the reload when reaching a certain position. Clip show the whole thing.

How to reproduce

  1. Build a 5-block-tall pillar

  2. Drop a gold ingot on top of the pillar

  3. Spawn a piglin roughly 15 blocks away from the pillar:

    /summon piglin ~ ~ ~ {HandItems:[{id:crossbow,Count:1}],IsImmuneToZombification:1}
  4. Switch to survival mode
    → ❌ The piglin rapidly raises and lowers its crossbow

Linked issues

Attachments

Comments 12

MC-177973 describes your issue?

Not the same situation, but as can be seen in the clip, the piglin's crossbow does appear to be empty so its probably related. 

Was the piglin running away from a zombified piglin, or trying to get gold when he was around you? I ask, as for the sake of confirming the issue it's important to know what lead to the shown behavior.

It might be both, Additional info seen here, https://youtu.be/sTys2u1QRJU?list=PLj1Z4Aa7QAlOzlJMqlEOdzFqktGSTLbtG&t=8518 , "[34]McChill" at 2 hours, 22 min and onwards.

I mine gold ore above me before the encounter, then after when I approach him by going up stairs, it does look like a zombie piglin is chasing him. Could be he was in range of me mining the ore up above, and then got scared by the zombie piglin as I encounter him. 

 

Thanks for providing the video with some more context.

Admittedly though, I'm still not sure how, or why it occured. Are you able to find out exactly how to reproduce the issue consistently in a controlled enviornment? If you can do that and reproduce it in the latest version, having some steps to reproduce it would be very helpful for the sake of confirming the report.

2 more comments

Well you shouldn't be waiting for my responce, as I dont intend on trying to reproduce the error in 1.20.4. Given all the info I have provided in prior comments, you have enough to check your version control, to see if someone has been working on the behavior for piglins since version 1.19.4. If the code in charge of choosing piglin behavior remains unchanged since 1.19.4, it will be worth having a developer be informed about the human error, so they can add the exception in the code to the reported bug.

The scope of the issue depends on how its coded in the back end. If the code in charge of choosing behavior is used universally(which I would not expect to be the case) this could potentially happen for any mob. Which makes sense when considering "related to" links mention the " MC-193183 Piglin brutes sometimes rapidly raise and lower their arms".

 

 

It is the reporter's job to make sure the issue is present in the latest release/snapshot, if you do not do that, this report is invalid. Do not report issues from outdated versions, nor modded versions, nor issues you don't test yourself. Reports only seen in a video/stream should be confirmed to be the case by you first.

@Dhranios Well the issue was reported 26/Apr/23 11:18 PM, which is litterally visible on within this bug report. Additionally, reporting a bug is not a job, it is a voluntary service from a user of the software. I suggest you do not comment on reported issues without reading them through.

Literally nobody was able to reproduce your issue, and have repeatedly asked for further info, and you responded (basically) "go test it yourself"; if they can't reproduce in the first place, you need to check if you still can reproduce it. It might have been resolved in intermediate updates.
The "Do not report issues from outdated versions, nor modded versions, nor issues you don't test yourself." is just generally speaking, not specifically about this. I said this, as looking at your past comments, you only referred to the clip to test, as if you just saw it in a stream, clipped it, and not reproduced it yourself.

Well then they need to try harder, under the assumption they are the developers of the game. Additionally I have provided any info asked of me within reasonable time as well, as can be seem from the comments. Im not sure why you are misinterpreted my responce. 

Generally speaking isn't exactly what I would assume comments on a specific thread is for, but be that as it may, opinions differ.

However in my comments I refer not only to the clip in the original report, but also the extended full stream and the specific time stamp, which apparently you have missed again. 

Also I might add, that I didnt just see this in a stream, nor should you make such an assumption. Im the guy speaking in the clip, the clip is of my channel, and the stream is achieved on my yt channel. 

I hope that you havent preemtively resolved this issue, without discussing with a developer on the subject, because if so you would be doing them a disservice. 

Lastly since you mention modding, I play the game purely vanilla, which is the reason I felt the need to report this issue in the first place.

 

QuisMagister

(Unassigned)

Confirmed

Mob behaviour

1.19.4, 1.20.4, 24w04a, 1.21

Retrieved