The bug
Creepers can't blow up the and boat with chest they ride, when it is on the land.
Does not affect the bamboo raft or bamboo raft with chest.
How to reproduce
Boat:
Push Creeper to the boat.
Make Creeper explosion.
Horse: Fixed in 20w18a
Use
/summon horse ~ ~1 ~ {Passengers:[{id:creeper}],Tame:1}
Make Creeper explosion.
Llama: Fixed in 20w18a
Use
/summon llama ~ ~1 ~ {Passengers:[{id:creeper}],Tame:1}
Make Creeper explosion.
Code analysis
The following is based on decompiled version of Minecraft 1.9 using MCP 9.24 beta. All method and class names are the names used in the decompiled version.
The methods net.minecraft.entity.passive.EntityHorse.attackEntityFrom(DamageSource, float)
and net.minecraft.entity.item.EntityBoat.attackEntityFrom(DamageSource, float)
prevent the riding entity from damaging it. This was maybe added for players riding a horse or a boat, strangerwise this is not the case for minecarts and it looks like even if this test is removed the player is still unable to damage the horse respectively boat.
Linked issues
relates to 2
Attachments
Comments 17
Thank you 🙂
I just noticed it is rather "cannot" than "can not" see ‘Cannot’ or ‘can not’?
Please link to this comment in the description
The following is based on decompiled version of Minecraft 1.9 using MCP 9.24 beta. All method and class names are the names used in the decompiled version.
The methods net.minecraft.entity.passive.EntityHorse.attackEntityFrom(DamageSource, float)
and net.minecraft.entity.item.EntityBoat.attackEntityFrom(DamageSource, float)
prevent the riding entity from damaging it. This was maybe added for players riding a horse or a boat, strangerwise this is not the case for minecarts and it looks like even if this test is removed the player is still unable to damage the horse respectively boat.
I think it is more correct to say "Creepers
can notcannot blow up the boat they ride"Confirmed for
16w04a This is however not a general problem with Creepers and boats. Creepers outside a boat can still blow it up