mojira.dev
MC-311698

Tadpoles' equipment is deleted when converting to frogs

Since it was requested that MC-311623 be split up, this report covers equipment transfer when a tadpole converts to a frog.

When such a conversion occurs, any equipment given to the tadpole via commands is simply deleted. Per the standard outlined in MC-311623, it would be expected that the items a frog cannot make use of (all equipment slots) would be dropped according to drop_chances (preferably reflecting the chance value exactly).

This “bug” has basically no impact on the game, so I would not really mind if this were to be designated Works As Intended, Won’t Fix or Invalid. However, should other equipment transfer be fully implemented according to the MC-311623 standard, the reason for the inconsistency may be difficult to describe.

To reproduce

  1. /summon minecraft:tadpole ~ ~ ~ {Age:23980,equipment:{head:{id:chainmail_helmet}},drop_chances:{head:2f}}

  2. Once the tadpole has grown up, /data get entity @n[type=frog] equipment
    ❌ The helmet has been deleted

Expected behavior

The helmet would be dropped on the ground since the frog cannot make use of it.

Linked issues

MC-311697 Hoglins' equipment is not dropped according to `drop_chances` when converting to zoglins Open MC-311623 Inconsistent equipment preservation when a mob converts to another mob which cannot normally hold or wear it Resolved MC-311690 Villagers' equipped items in the body and saddle slots are not dropped according to `drop_chances`, and their main hand item is not dropped this way or deleted, when they convert to zombie villagers Open MC-88967 Most NBT tags are not kept when a mob converts to another mob Resolved MC-311689 Mooshrooms' equipment is deleted when converting to cows Open

Comments 1

clamlol

(Unassigned)

Community Consensus

Platform

Low

Items, Mob behaviour

26.2, 26.3 Pre-Release 2

Retrieved