summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Ocelot.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-06-19Death messages for tamed pets and ocelots are now tamable. (#5243)TheHyper451-0/+1
* Fixing bugs regarding wolfs and ocelots * Death messages appear after killing tamed ocelots and wolfs * Style fix * Added myself to the CONTRIBUTORS file * Removed redundant string initialization * Removed an unsafe cast. * Changed the order of initialization of fields in constuctor of class cOcelot
2021-06-15Migrate off CircleCI to Jenkins (#5230)Alexander Harkness1-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>
2021-04-12Unify multiprotocol entity animationsTiger Wang1-4/+2
2021-04-12Update entity sizesTiger Wang1-1/+1
2020-04-16Using Super.Mattes D1-5/+5
2020-03-22Add ambient mob sounds (#4521)Mat1-1/+1
2018-08-02Experience orb (#4259)changyong guo1-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
2018-07-30Ocelots no longer multiply exponentially (#4272)peterbell101-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.
2018-07-24Broadcast refactor (#4264)peterbell101-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
2018-02-04Ocelots don't take fall damage (#4171)Bond-0091-0/+10
2017-09-11Replace ItemCallbacks with lambdas (#3993)peterbell101-37/+24
2017-09-02Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot1-24/+37
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
2017-09-01Replace ItemCallbacks with lambdas (#3948)peterbell101-37/+24
2017-08-17Sitting cats block enderchests from opening (#3906)Bond-0091-0/+28
2017-07-12Added basic ocelot behavior (#3829)Bond-0091-0/+205