summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Horse.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Spectation: add dedicated pathway for spectator mode (#5303)Tiger Wang2021-09-301-2/+2
| | | | | | | | | * Spectation: add dedicated pathway for spectator mode + Sync player rotation with spectated entity. + Add dedicated infrastructure to cPlayer for handling spectation, instead of misusing entity riding. * Avoid infinite recursion when exiting spectation, fixes #5296 * AttachTo: Change parameter to reference
* Update entity sizesTiger Wang2021-04-121-1/+1
|
* Fix potential destruction crashes (#5095)Tiger Wang2021-01-021-13/+15
| | | | | | | | | | * Fix potential destruction crashes * Fix destructors accessing destroyted objects * Fix cPlayer not destroying windows (Destroyed never called) * Tentatively fixes #4608, fixes #3236, fixes #3262 - Remove cEntity::Destroyed() and replace with cEntity::OnRemoveFromWorld() * Add missing call to OnRemoveFromWorld
* Horsies: don't always broadcast metadataTiger Wang2020-12-181-1/+10
|
* Using Super.Mattes D2020-04-161-5/+5
|
* Add ambient mob sounds (#4521)Mat2020-03-221-1/+1
|
* Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell102018-08-291-1/+1
| | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
* cWorld: Manually bind deprecated broadcast functions (#4265)peterbell102018-07-271-4/+4
| | | Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193
* Broadcast refactor (#4264)peterbell102018-07-241-2/+1
| | | | | | | | | | | | | | | | | | | | | | | * 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
* Implement horse inventory (#4053)peterbell102017-10-211-20/+114
| | | | | | | | | | * Implement horse inventory * Fix sign conversions * Add API doc for ItemCategory::IsHorseArmor * Improve HandleOpenHorseInventory comment and style fixes.
* Fixed some small passive mob issues (#4057)Bond-0092017-10-211-0/+5
| | | | | * Chickens can be bred with seeds, beetroot seeds, melon seeds, or pumpkin seeds Ref: https://minecraft.gamepedia.com/Chicken#Baby_chicken * Baby passive mobs don't drop items * Fixed the size of some mobs
* Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959)Lane Kolbly2017-09-191-2/+2
| | | | | | | | | | | | | | | | | | * Made BroadcastSoundEffect take vector parameters. * Added docs for new vectored methods * Removed old code * Fixed lua warnings * Made old BroadcastSoundEffect not an override. * m_Block to m_BlockPos, used Vector3d constructor where prettier. * a_Block to a_BlockPos * Changed thunderbolt a_Block to a_BlockPos
* Fully implemented leashes (#3798)Pablo Beltrán2017-08-211-12/+16
|
* Sound effect horse rejects player when tamingPablo Beltrán2017-07-101-0/+1
|
* Fix horse taming (#3820)Bond-0092017-07-021-14/+26
| | | | * Horses rear when untamed and right-clicked with an item
* FastRandom rewrite (#3754)peterbell102017-06-131-3/+5
|
* Clang 5.0 fixesLukas Pioch2017-05-211-2/+2
| | | | | - Added override keyword - Removed inherited member variables
* Updated sounds and effect IDs (#3422)mathiascode2017-02-151-1/+1
|
* Entities now bail out of ticks if destroyed (#3363)LogicParrot2016-09-031-0/+5
|
* fixed horse bugtonibm192016-03-011-1/+4
| | | | horse could be "controlled" without a saddle or being tamed
* PF - "Special blocks" handlingSafwat Halaby2015-12-241-3/+3
|
* allow horse control (still quite buggy)Gargaj2015-12-151-1/+21
|
* implement breedingGargaj2015-11-291-0/+2
|
* Add enum for Sound and Particle EffectsDave Tucker2015-11-241-4/+5
| | | | | | Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
* Fix commentstycho2015-05-281-4/+4
|
* Made -Weverything an error.tycho2015-05-241-4/+4
|
* Make -Werror disabling file onlytycho2015-05-191-1/+1
| | | | Ad fix a load of warnings
* Initial convertion of a_Dt to std::chronoTycho2015-01-111-1/+1
| | | | also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-3/+3
|
* More trailing whitespace fixes.madmaxoft2014-07-171-1/+1
|
* Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper2014-02-231-1/+6
|
* Moved source to srcAlexander Harkness2013-11-241-0/+152