mojira.dev
MC-269182

Gaining ocelot trust buggy and inconsistent when spawned in via command or spawn egg.

When trying to gain the trust of a summoned ocelot, it will immediately go into breed mode bypassing trusting. Occasionally a point towards trust might be added although I was not able to do that consistently.
Attempting to gain the trust of a summoned ocelot while it's in breeding mode will result in item desync where the client will think the fish was used while the server does not. (Related issue: MC-263594)
This does not appear to affect naturally spawned ocelots.

Environment

Windows 11 23H2
Java 17.0.10

Attachments

Comments 2

I cannot reproduce this on 1.20.6. Naturally spawned ocelots and ocelots summoned through commands/spawned in through spawn eggs both trusted me once I fed them enough fish.

can reproduce on 1.21.11 and 26.1.1


I think this is the same bug as MC-263594.

migrated

(Unassigned)

Unconfirmed

1.20.4

Retrieved