summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Ocelot.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Migrate off CircleCI to Jenkins (#5230)Alexander Harkness2021-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * Add Jenkinsfile * cd src * Escape wildcards * Refactor stages * Remove CircleCI junk * Make clang-tidy do something * updated regex to include only the files in the base src directory * fixed errors displayed by new clang tidy version * adjust clang core count to actual count * Update README with new Jenkins build Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com>
* 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