mojira.dev
MC-301412

The use_remainder item component doesn't work with blocks and certain other items

The use_remainder item component doesn’t work on blocks being placed, armor stands being placed, item frames being placed, bone meal being used, items being used to tame animals (unless the item also feeds the animal), spawn eggs being used, fireworks being launched, minecarts being placed, or copper being waxed.

It also doesn't work on items breaking, saddles and armor being put on animals, buckets being used, or totems of undying being used. It’s debatable whether those should be included, but as a datapack maker I would expect them to work as well.

That’s all I’ve found so far. I’m sure there are more items that don’t work.

To reproduce: use the following command:

/give @s minecraft:glass[minecraft:use_remainder={id: "minecraft:emerald"}]

You will see that when you place the glass, it doesn’t give you the emerald, even though it does work just fine with consumables, throwables, and boats. Try it with lots of different items and you’ll see the inconsistency.

Comments 0

No comments.

NethyIsTrue

(Unassigned)

Confirmed

Platform

Low

Commands, Items

1.21.8, 25w34b

Retrieved