summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Horse.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-09-30Spectation: add dedicated pathway for spectator mode (#5303)Tiger Wang1-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
2021-04-12Update entity sizesTiger Wang1-1/+1
2021-01-02Fix potential destruction crashes (#5095)Tiger Wang1-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
2020-12-18Horsies: don't always broadcast metadataTiger Wang1-1/+10
2020-04-16Using Super.Mattes D1-5/+5
2020-03-22Add ambient mob sounds (#4521)Mat1-1/+1
2018-08-29Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell101-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.
2018-07-27cWorld: Manually bind deprecated broadcast functions (#4265)peterbell101-4/+4
Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193
2018-07-24Broadcast refactor (#4264)peterbell101-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
2017-10-21Implement horse inventory (#4053)peterbell101-20/+114
* Implement horse inventory * Fix sign conversions * Add API doc for ItemCategory::IsHorseArmor * Improve HandleOpenHorseInventory comment and style fixes.
2017-10-21Fixed some small passive mob issues (#4057)Bond-0091-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
2017-09-19Changed BroadcastSoundEffect, SendSoundEffect, and CastThunderbolt parameters to vectors (#3959)Lane Kolbly1-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
2017-08-21Fully implemented leashes (#3798)Pablo Beltrán1-12/+16
2017-07-10Sound effect horse rejects player when tamingPablo Beltrán1-0/+1
2017-07-02Fix horse taming (#3820)Bond-0091-14/+26
* Horses rear when untamed and right-clicked with an item
2017-06-13FastRandom rewrite (#3754)peterbell101-3/+5
2017-05-21Clang 5.0 fixesLukas Pioch1-2/+2
- Added override keyword - Removed inherited member variables
2017-02-15Updated sounds and effect IDs (#3422)mathiascode1-1/+1
2016-09-03Entities now bail out of ticks if destroyed (#3363)LogicParrot1-0/+5
2016-03-01fixed horse bugtonibm191-1/+4
horse could be "controlled" without a saddle or being tamed
2015-12-24PF - "Special blocks" handlingSafwat Halaby1-3/+3
2015-12-15allow horse control (still quite buggy)Gargaj1-1/+21
2015-11-29implement breedingGargaj1-0/+2
2015-11-24Add enum for Sound and Particle EffectsDave Tucker1-4/+5
Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
2015-05-28Fix commentstycho1-4/+4
2015-05-24Made -Weverything an error.tycho1-4/+4
2015-05-19Make -Werror disabling file onlytycho1-1/+1
Ad fix a load of warnings
2015-01-11Initial convertion of a_Dt to std::chronoTycho1-1/+1
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-3/+3
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-3/+3
2014-07-17More trailing whitespace fixes.madmaxoft1-1/+1
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper1-1/+6
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper1-1/+5
2014-02-23Finally corrected the Enchantment constants.TheJumper1-1/+1
2014-02-22Fixed Looting segment fault - a_Killer can be NULLTheJumper1-1/+5
2014-02-22Added static Enchantment Constants, Replaced cryptic Looting IDTheJumper1-1/+1
2014-02-21Fixed Mob Drops, Add Rare and Uncommon Drops, Looting inflicts DropsTheJumper1-1/+2
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-10Bundled fixes [SEE DESC]Tiger Wang1-4/+4
* Fixed compiler warning in Monster.cpp * Future proofed particle effects * Improved pickups, made less jittery
2013-10-28Now saddled horses spawn a saddle pickup when killedtonibm191-1/+4
2013-10-20Fixed loading allowed mobs in world.madmaxoft1-1/+1
2013-10-18Fixed indentation and re-styled conditions.madmaxoft1-38/+44
2013-10-17Moved linestonibm191-16/+17
don't know if I did well
2013-10-17More fixestonibm191-3/+8
- You can only tame horses with nothing at hand - Fixed rearing
2013-10-16Improved horse saddling [SEE DESC]tonibm191-32/+32
Now it checks if horse is already saddled, and if it's, you don't lose the saddle. Also, if the horse isn't tammed, you can't saddle it.
2013-10-15Added extra linetonibm191-0/+1
2013-10-15Fixed saddle horsetonibm191-4/+5
2013-10-15Added extra linetonibm191-0/+1
2013-10-15Added horse saddlingtonibm191-1/+12
It uses pig code, sorry if it don't works, i'm a noob, but it should work.
2013-10-11Sixth round of fixesTiger Wang1-3/+8
* Made horse rearing time fixed instead of random
2013-10-09Second round of fixesTiger Wang1-0/+1
* Implemented suggestions
2013-10-08Initial round of fixesTiger Wang1-1/+1
* Fixed intentional misspelling of baby! :D * Better chested horse bool name * Fixed some weird continuity issues with my recent changes not being pushed up initially * Fixed derpy hexadecimal values
2013-10-08Initial Metadata Commit [SEE DESC]Tiger Wang1-2/+93
+ Pigs, Minecarts, Sheep, Skeletons, Slimes, Villagers, Wolves, and Horses have metadata + Base code on taming wolves, shearing sheep, and taming horses + Sheep and horses have different colours when spawned
2013-09-18Added moar mobs!Tiger Wang1-0/+26
+ Added dragons + Added golems + Added giants + Added horses + Added some missing items + Added missing spawn egg metas