summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Ocelot.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Unify multiprotocol entity animationsTiger Wang2021-04-121-4/+2
|
* Update entity sizesTiger Wang2021-04-121-1/+1
|
* Using Super.Mattes D2020-04-161-5/+5
|
* Add ambient mob sounds (#4521)Mat2020-03-221-1/+1
|
* Experience orb (#4259)changyong guo2018-08-021-5/+5
| | | | | | | * Replace cWorld::FindClosesPlayer with cWorld::DoWithClosestPlayer * Implement experience reward splitting into the orb sizes used in vanilla * Modified speed calculation in cExpOrb::Tick to make the orbs fly towards the player Fixes #4216
* Ocelots no longer multiply exponentially (#4272)peterbell102018-07-301-14/+9
| | | | | Along with a call to `destroyentities`, this fixes #4271 I'm guessing the intention of this code was to modify the normal spawning of ocelots. However, `cEntity::SpawnOn` is actually called to send the entity to an individual client. That means this code was run for every single player, every time they were sent a chunk with ocelots in it. Thus, the ocelots population would grow exponentially as players log in and move around.
* Broadcast refactor (#4264)peterbell102018-07-241-3/+2
| | | | | | | | | | | | | | | | | | | | | | | * Move Broadcast functions from cChunkMap to cBroadcaster - Remove cBroadcastInterface in favour of cBroadcaster. - cChunk: Remove broadcast functions. * resurect broadcast interface * Absorb cBroadcaster into cWorld. Removes the need for forwarding the function calls. * Improve const-correctness * Use Int8 instead of char + Comment `ForClients` functions * Improve comments * Broadcaster: Rename ForClients functions
* Ocelots don't take fall damage (#4171)Bond-0092018-02-041-0/+10
|
* Replace ItemCallbacks with lambdas (#3993)peterbell102017-09-111-37/+24
|
* Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot2017-09-021-24/+37
| | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
* Replace ItemCallbacks with lambdas (#3948)peterbell102017-09-011-37/+24
|
* Sitting cats block enderchests from opening (#3906)Bond-0092017-08-171-0/+28
|
* Added basic ocelot behavior (#3829)Bond-0092017-07-121-0/+205