summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Cow.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace buckets to the selected hotbar slot, rather than the first available. (#4580)Alexander Harkness2020-04-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * Replace buckets to the selected hotbar slot, rather than the first available. Replicates vanilla behaviour, as well as being more logical. * Refactor cInventory::AddItem. Behaviour is now documented * Add new cInventory::ReplaceOneEquippedItem and ::SetEquippedItem methods * Return empty potion to the same slot after drinking * Replace buckets correctly in other situations, not simply water and lava Uses the new ReplaceOneEquippedItem method * Correct collecting water from source block with bottle * Add cPlayer::ReplaceOneEquippedItemTossRest method * Handle stacked filled buckets (in theory) Use new cPlayer::ReplaceOneEquippedItemTossRest method
* Add ambient mob sounds (#4521)Mat2020-03-221-1/+1
|
* Don't remove items twice (#4524)Mat2020-03-221-1/+1
| | | * Don't remove items twice
* CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell102018-07-261-2/+0
| | | | Add check for number of empty lines between functions and fix the corresponding failures
* 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
* Updated sounds and effect IDs (#3422)mathiascode2017-02-151-1/+1
|
* implement breedingGargaj2015-11-291-2/+4
|
* Make -Werror disabling file onlytycho2015-05-191-1/+1
| | | | Ad fix a load of warnings
* En masse NULL -> nullptr replaceTiger Wang2014-10-231-1/+1
|
* Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper2014-02-231-2/+7
|
* Rewritten code.tonibm192014-01-291-27/+0
| | | | | Implemented xoft suggestion. Using MoveToPosition as tigerw suggested.
* Fixed a copypasta error...tonibm192014-01-291-1/+2
|
* Now mobs follow you when holding their breed itemtonibm192014-01-291-2/+26
|
* Moved source to srcAlexander Harkness2013-11-241-0/+45