12xx12
3daf253b7f
Some emplace_back replacements ( #5149 )
...
* replace push_back with emplace_back when a new object was created in the function call
2021-03-07 16:31:43 +00:00
Mattes D
9ee47e5999
Using Super.
2020-04-16 20:07:48 +00:00
Alexander Harkness
cdc452916e
Replace buckets to the selected hotbar slot, rather than the first available. ( #4580 )
...
* 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
2020-04-02 12:42:15 +00:00
Mat
9ddf433ae7
Add ambient mob sounds ( #4521 )
2020-03-22 15:50:34 +00:00
Mat
49dd645aa6
Don't remove items twice ( #4524 )
...
* Don't remove items twice
2020-03-22 12:17:04 +02:00
peterbell10
950aeffff8
CheckBasicStyle: Check number of empty lines between functions ( #4267 )
...
Add check for number of empty lines between functions and fix the corresponding failures
2018-07-26 22:24:36 +01:00
Alexander Harkness
b4aa19f329
Item durability loss now depends on the item used. ( #4123 )
...
Armour durability also no longer changes when it
is used to break blocks or attack mobs.
Fixes #4119
2018-01-05 11:28:06 +00:00
Bond-009
e585595ae6
Fixed some small passive mob issues ( #4057 )
...
* 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-10-21 17:55:46 +01:00
mathiascode
dae2adde65
Updated sounds and effect IDs ( #3422 )
2017-02-15 06:05:24 +01:00
hallucino
9c85ed5864
Spawn baby mobs
2015-07-16 22:49:55 +02:00
tycho
77f1f58c0a
Make -Werror disabling file only
...
Ad fix a load of warnings
2015-05-19 19:32:10 +01:00
Tiger Wang
a26541a7c3
En masse NULL -> nullptr replace
2014-10-22 20:12:49 -07:00
Tycho
6e7c0e33b5
Added first test to show the object can be created
2014-09-17 18:40:10 +01:00
tonibm19
1de2c23d64
added mooshroom to cow conversion
2014-02-27 22:04:48 +01:00
TheJumper
2cc597372a
Fixed Formatting, Added DropChances and CanPickUpLoot attributes to Monsters
2014-02-23 19:50:51 +01:00
tonibm19
e9c1d1ea9c
Did what xoft said
2014-01-29 20:02:41 +01:00
tonibm19
1c1832b6ce
Rewritten code.
...
Implemented xoft suggestion.
Using MoveToPosition as tigerw suggested.
2014-01-29 19:15:26 +01:00
tonibm19
73d9a285d5
Fixed a copypasta error...
2014-01-29 18:25:10 +01:00
tonibm19
ebe0f9372f
Now mobs follow you when holding their breed item
2014-01-29 18:08:33 +01:00
Alexander Harkness
675b4aa878
Moved source to src
2013-11-24 14:19:41 +00:00