[GH-ISSUE #3178] Ocelot Behaviour #863

Closed
opened 2026-11-02 15:42:27 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @ludovic111 on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3178

Version: not given · OS: Windows, Ryzen 3 3400g, N/A (copied from the report)

What I did: Got into creative to test a mob behaviour because I stumbled it upon survival at first and wanted to confirm.
What happened: Ocelots don't run from player. It should be true if its tamed but I encountered a wild ocelot in the Jungle Biome.
What I expected: Ocelots run from player when approached.
Horizon version: Latest
OS, CPU, GPU: Windows, Ryzen 3 3400g, N/A

  • a screenshot, a video or the log file if you have one

Reported on Discord by 0ne in #horizon-bugs · Discord thread
Tags: gameplay

Attachments (Discord links expire after a while; the thread keeps them)

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @ludovic111 on GitHub (Oct 28, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3178 **Version:** not given · **OS:** Windows, Ryzen 3 3400g, N/A <sub>(copied from the report)</sub> > What I did: Got into creative to test a mob behaviour because I stumbled it upon survival at first and wanted to confirm. > What happened: Ocelots don't run from player. It should be true if its tamed but I encountered a wild ocelot in the Jungle Biome. > What I expected: Ocelots run from player when approached. > Horizon version: Latest > OS, CPU, GPU: Windows, Ryzen 3 3400g, N/A > + a screenshot, a video or the log file if you have one Reported on Discord by **0ne** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1564979278859477092) Tags: gameplay **Attachments** (Discord links expire after a while; the thread keeps them) - [2026-10-28_20-27-22.mp4](https://cdn.discordapp.com/attachments/1564979278859477092/1564979279110869203/2026-10-28_20-27-22.mp4?ex=6ae33c08&is=6ae1ea88&hm=32e066c7cc95cd590050ab1718692873f9694b753ea8404aa6107f5bb0e1ec04&) <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
bsakaguchi 2026-11-02 15:42:27 +07:00
Author
Owner

@ludovic111 commented on GitHub (Oct 28, 2026):

0ne added on Discord:

Launcher Version: 0.2.19

<!-- gh-comment-id:6469046505 --> @ludovic111 commented on GitHub (Oct 28, 2026): **0ne** added on Discord: > Launcher Version: 0.2.19 <!-- kira -->
Author
Owner

@ludovic111 commented on GitHub (Oct 28, 2026):

0ne added on Discord:

(no text)

<!-- gh-comment-id:6469452546 --> @ludovic111 commented on GitHub (Oct 28, 2026): **0ne** added on Discord: > (no text) - [2026-10-28_20-48-25.mp4](https://cdn.discordapp.com/attachments/1564979278859477092/1564984559747997806/2026-10-28_20-48-25.mp4?ex=6ae340f3&is=6ae1ef73&hm=f3d790c2d9455237a8525dda27be3f34ed5c8de62ec4ab3a15e4c82462e83090&) <!-- kira -->
Author
Owner

@kacpherek commented on GitHub (Oct 29, 2026):

Cause, from the port ledger's verdict map (#3139, tracked in #3512): Ocelot.registerGoals has no port, so an ocelot only gets the generic animal goals (panic, stroll, look at player): it is not lured by fish, does not run from players and never stalks chickens or baby turtles. Ocelot.mobInteract has no port either: raw fish never makes a wild ocelot trust the player (no one-in-three roll, no hearts or smoke); it only puts it in love mode.

<!-- gh-comment-id:6488865135 --> @kacpherek commented on GitHub (Oct 29, 2026): Cause, from the port ledger's verdict map (#3139, tracked in #3512): `Ocelot.registerGoals` has no port, so an ocelot only gets the generic animal goals (panic, stroll, look at player): it is not lured by fish, does not run from players and never stalks chickens or baby turtles. `Ocelot.mobInteract` has no port either: raw fish never makes a wild ocelot trust the player (no one-in-three roll, no hearts or smoke); it only puts it in love mode.
Author
Owner

@levzzz5154 commented on GitHub (Oct 29, 2026):

🤖 Agent: written by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 themselves.

Fixed by #3336 (merged). Ocelots now get vanilla's Ocelot.registerGoals (mobs/tame.rs register_ocelot, wired in mobs/ai.rs), which includes OcelotAvoidEntityGoal: a wild ocelot runs from players within 16 blocks. Closing. Ocelot trust from fish (mobInteract) isn't ported yet. That's a separate gap, noted in the PR.

<!-- gh-comment-id:6504409567 --> @levzzz5154 commented on GitHub (Oct 29, 2026): 🤖 Agent: written by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 themselves. Fixed by #3336 (merged). Ocelots now get vanilla's `Ocelot.registerGoals` (`mobs/tame.rs` `register_ocelot`, wired in `mobs/ai.rs`), which includes `OcelotAvoidEntityGoal`: a wild ocelot runs from players within 16 blocks. Closing. Ocelot trust from fish (`mobInteract`) isn't ported yet. That's a separate gap, noted in the PR.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#863
No description provided.