A player gains an ocelot's trust by feeding it raw cod or salmon until heart particles show, causing it to no longer flee from players. Each food item has a 1/3 chance of gaining the ocelot's trust. They wont run away from you, but they wont follow you like a dog.