Mojira Archive
MC-273551

The new using_converts_to food component doesn't work when feeding a wolf

When you feed a wolf a food item that uses using_converts_to, the wolf eats the item and you don't get the item that it should have converted to. 

What I expected to happen was:
When I feed a wolf an item I created with a command that converts the item into another item when a player eats it, the wolf eats the item, and I receive the item specified by using_converts_to

What actually happened was:
When I feed a wolf an item I created with a command that converts the item into another item when a player eats it, the wolf eats the item, but the item doesn't convert to anything

Steps to Reproduce:
1.

/give @p cooked_beef[food={nutrition:1,saturation:1,using_converts_to:{id:"minecraft:bone",count:1}}] 1

2. Feed the steak to a tamed wolf
3. The wolf eats the steak just fine, but you don't get any bone. 

In that situation, I expected that the steak in my hand that I fed to the wolf would be replaced by a bone, but I got nothing.

Unresolved

Dusty_Boi

2024-06-18, 06:34 AM

2024-06-19, 07:03 AM

0

0

Community Consensus

Low

Platform

Commands, Data Packs

1.21

-