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
..
2019-10-16 10:06:34 +02:00
2019-10-28 10:45:43 +01:00
2019-10-28 10:45:43 +01:00
2019-10-28 10:45:43 +01:00
2020-03-28 12:20:14 +00:00
2020-03-24 14:16:09 +02:00
2019-10-28 10:45:43 +01:00
2019-10-28 10:45:43 +01:00
2019-10-28 10:45:43 +01:00
2019-10-16 10:06:34 +02:00
2020-04-02 12:42:15 +00:00
2019-10-16 10:06:34 +02:00
2015-07-14 21:46:30 +01:00
2019-10-16 10:06:34 +02:00
2020-03-23 10:19:52 +02:00
2019-10-16 10:06:34 +02:00
2020-03-23 22:07:08 +02:00
2019-10-16 10:06:34 +02:00
2019-10-28 10:45:43 +01:00
2019-10-16 10:06:34 +02:00
2020-03-17 02:23:50 +02:00
2019-10-16 10:06:34 +02:00
2019-10-28 10:45:43 +01:00
2019-10-16 10:06:34 +02:00
2017-08-01 08:21:20 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2020-03-23 22:07:08 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2020-03-23 22:07:08 +02:00
2019-10-16 10:06:34 +02:00
2020-03-24 14:16:09 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2020-03-17 02:23:50 +02:00
2019-10-16 10:06:34 +02:00
2020-03-28 12:20:14 +00:00
2019-10-28 10:45:43 +01:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2020-03-23 13:45:09 +00:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2017-12-27 18:47:28 +00:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2015-08-19 10:48:21 -06:00
2019-10-28 10:45:43 +01:00
2019-10-16 10:06:34 +02:00
2020-03-22 22:51:11 +02:00
2020-03-22 00:18:49 +00:00
2017-08-01 08:21:20 +02:00
2019-10-28 10:45:43 +01:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2018-02-04 23:07:12 +00:00
2019-10-16 10:06:34 +02:00
2020-03-23 22:07:08 +02:00
2019-10-16 10:06:34 +02:00
2020-03-23 22:07:08 +02:00
2019-10-16 10:06:34 +02:00
2015-07-14 21:46:30 +01:00
2019-10-28 10:45:43 +01:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2019-10-28 10:45:43 +01:00
2019-10-16 10:06:34 +02:00
2019-10-28 10:45:43 +01:00
2019-10-28 10:45:43 +01:00
2017-08-01 08:21:20 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00
2017-08-01 08:21:20 +02:00
2018-08-29 01:51:25 +01:00
2019-10-28 10:45:43 +01:00
2019-10-28 10:45:43 +01:00
2020-03-28 12:20:14 +00:00
2018-07-26 22:24:36 +01:00
2019-10-16 10:06:34 +02:00
2019-10-16 10:06:34 +02:00