mojira.dev
MCPE-35876

If a charged creeper explodes a stray he will drop the wither skeleton skull

  • Yeah so when a charged creeper explodes a stray he will drop the wither skeleton skull

Affects all bedrock versions

Linked issues

Attachments

Comments 13

Please don’t fix

What's the status for this bug? This is the worst bug that could've ever existed. If this exploit doesn't get patched soon, people will have no problem with getting as many Becons as they want.

it is the only nice thing in bedrock

not that manny people use it anyway

3 more comments

Needs to be fixed urgently, as this bug breaks the game

Please fix this bug! It’s way too OP!

This issue is caused by logic in Skeleton::die() that probably predates the introduction of Strays in the game. When a skeleton killed by a charged creeper, the game checks what type of skeleton it was, and if the skeleton is normal it drops a normal skull, otherwise it drops a wither skull. Potential code fixes for this bug are straight forward (using C++ style pseudocode):

Make Strays Drop Normal Skulls

SkullBlockActor::SkullType skull_type = 0;
if(getSkeletonType() == 1) {
    skull_type = 1;
}
// ... create and drop skull item

Make Strays Drop No Skulls (Java Parity)

if(getSkeletonType() < 2) {
    SkullBlockActor::SkullType skull_type = 0;
    if(getSkeletonType() == 1) {
        skull_type = 1;
     }
    // ... create and drop skull item
}

affects 1.17.10.20

Lio

(Unassigned)

188617

Confirmed

Multiple

Android 6.0

charged-creeper, drop, stray, wither_skeleton_skull

1.13.0.1 Beta, 1.12.0.14 Beta, 1.17.10.20 Beta, 1.17.0.58 Beta, 1.17.0.56 Beta, ..., 1.16.0, 1.16.20, 1.16.61 (PS4), 1.16.201 Hotfix, 1.16.221 Hotfix

1.17.10.21 Beta, 1.17.0

Retrieved