mojira.dev
MC-1686

Renamed saddle don't keep its name after putting it on pig and then killing him.

When you rename your saddle, put in on the pig and then kill the pig, saddle that pop out is not renamed.

What I expected to happen was...:
When i kill a pig, on what i put renamed saddle earlier, saddle that pop out should be renamed as well.

What actually happened was...:
When i put renamed saddle on a pig and then kill it, saddle that pop out have his original name.

Steps to Reproduce:
1. Rename saddle
2. Put in on the pig
3. Kill the pig
3. Collect the saddle and look at its name.

Related issues

Attachments

Comments

migrated
[media]
marcono1234

Confirmed for

  • 15w42a Even though I think the screenshot / picture / art is not necessarily needed

Unlike the EntityHorse which stores the saddle as SaddleItem, the Pig only stores a boolean Saddle. This means after a saddled pig dies the game creates a new saddle item.

This is not a duplicate of MC-1981 as this issue is about renamed entities not using their CustomName as name for the dropped item and arrows shot by dispenser losing their name completely.

migrated

Similar to MC-116 where music disks didn't store their data (but do now), this is a duplicate of the catch all "names don't persist" ticket. See the mod explanation there. I'll make you the reporter of MC-1981, maybe you can create a better description for it.

marcono1234

I cannot agree with you on that. MC-116 is like this report not a duplicate of MC-1981. It is the fact that they are not stored as item (which they should). See for example the EntityHorse which has a own tag for storing the saddle as an item.

And I am not too happy with being the reporter of MC-1981 now if that report still stays the main report for all item / entity lose data bugs.

migrated

It was decided that these reports are to be consolidated into one. This was a while ago, before my time here. You can message /r/Mojira if you want it split up, until then I'll take and fix up MC-1981.

migrated

(Unassigned)

Unconfirmed

Minecraft 1.4.3

Retrieved