summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Sheep.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* syntaxTiger Wang2022-01-141-1/+1
|
* Fixed Compiler Warningsx12xx12x2022-01-141-1/+1
|
* Unify multiprotocol entity animationsTiger Wang2021-04-121-1/+1
|
* Update entity sizesTiger Wang2021-04-121-1/+1
|
* Properly deprecate more XYZ parameter'd functions (#5147)Tiger Wang2021-03-151-4/+4
| | | * Fixes #5144
* Some emplace_back replacements (#5149)12xx122021-03-071-1/+1
| | | * replace push_back with emplace_back when a new object was created in the function call
* Adding wolf breading and moving breeding functionality to cMonster (#4951)12xx122020-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added wolf breading * mpoved breeding to monster * checkstyle * fixed my IDE "helping" * removed magic number and fixed faster aging * added flooring to age manipulation * fixed copiler error * fixed typo * moved tps to Defines.h * removed the TPS constant from the lua API exposure * added inline constexpr added explanation * fixed broken build * "fixed" build Co-authored-by: 12xx12 <12xx12100@gmail.com>
* Using Super.Mattes D2020-04-161-3/+3
|
* Prevent crash when breedingMat2020-04-161-2/+0
|
* Fix typo in block break particle coordinate (#4555)Mat2020-03-271-1/+1
| | | | | * Use Vector3d for block break particle * Fix typo
* 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-1/+1
| | | Ref: https://github.com/cuberite/cuberite/pull/4264#discussion_r204769193
* Item durability loss now depends on the item used. (#4123)Alexander Harkness2018-01-051-1/+0
| | | | | | | Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119
* 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-1/+1
| | | | | | | | | | | | | | | | | | * 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
* Remove double includes part 2 (#3890)peterbell102017-08-031-1/+0
|
* FastRandom rewrite (#3754)peterbell102017-06-131-7/+5
|
* Updated sounds and effect IDs (#3422)mathiascode2017-02-151-2/+2
|
* Entities now bail out of ticks if destroyed (#3363)LogicParrot2016-09-031-0/+5
|
* sheep color inheritanceGargaj2015-12-131-0/+40
|
* Add enum for Sound and Particle EffectsDave Tucker2015-11-241-1/+2
| | | | | | Fixes #2603 Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
* Make -Werror disabling file onlytycho2015-05-191-3/+3
| | | | Ad fix a load of warnings
* A* Pathfinding and better monster AIwiseoldman952015-05-011-1/+1
|
* Correct world height validations.Tommy Santerre2015-03-201-1/+1
| | | | | Unify the way we test block above the current one (Height - 1 instead of a_RelY + 1). Allow generation of world of flat height = 255
* 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-1/+1
|
* Merge branch 'master' into blocksMasy982014-09-261-0/+2
|\ | | | | | | | | | | Conflicts: src/Items/ItemHandler.cpp src/Simulator/IncrementalRedstoneSimulator.cpp
| * Merge branch 'master' into EntityCustomNameHowaner2014-09-231-0/+7
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/ClientHandle.cpp src/ClientHandle.h src/Protocol/Protocol.h src/Protocol/Protocol125.cpp src/Protocol/Protocol125.h src/Protocol/Protocol17x.cpp src/Protocol/Protocol17x.h src/Protocol/ProtocolRecognizer.cpp src/Protocol/ProtocolRecognizer.h src/World.cpp src/World.h
| * | Added name tagHowaner2014-09-011-0/+2
| | |
* | | Fixed mutton name in Sheep.cppMasy982014-09-111-1/+1
| |/ |/|
* | Fixed style and alpha-sorting.madmaxoft2014-09-031-7/+7
| |
* | Added mutton, which sheep now drop when killedarchshift2014-09-031-0/+7
|/
* Fix item durability.Howaner2014-07-231-5/+1
| | | Fixes #1181
* Normalized comments.madmaxoft2014-07-171-2/+2
| | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign.
* Update.Howaner2014-07-131-1/+1
|
* Moved the random code to a function (cSheep::GenerateNaturalRandomColor())Howaner2014-06-301-32/+40
|
* Fix sheep color's, add shear sound.Howaner2014-06-281-1/+40
|
* Merge remote-tracking branch 'origin/master' into fixesjfhumann2014-04-181-1/+1
|\ | | | | | | | | | | | | | | Conflicts: src/Authenticator.cpp src/ClientHandle.cpp src/Entities/Minecart.cpp src/Protocol/Protocol17x.cpp
| * Entities handle chunks properly againTiger Wang2014-04-121-1/+1
| | | | | | | | | | * Entities properly handle chunks * Changed EntityStatus enums to be less shouty
* | Did some static analysis, fixed some bugs and optimized a lot of codejfhumann2014-04-181-3/+4
|/
* Fixed sheep ASSERTing sometimesTiger Wang2014-02-271-8/+18
|
* Rewritten code.tonibm192014-01-291-23/+0
| | | | | Implemented xoft suggestion. Using MoveToPosition as tigerw suggested.
* Fixed sheeptonibm192014-01-291-18/+17
|
* Fixed a copypasta error...tonibm192014-01-291-0/+1
|
* Now mobs follow you when holding their breed itemtonibm192014-01-291-0/+24
|
* Implemented sheeps eating grass.STRWarrior2014-01-251-1/+38
|
* Moved source to srcAlexander Harkness2013-11-241-0/+62