summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemArmor.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Vector3 in Handlers (#4680)Mattes D2020-04-211-12/+23
| | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
* Replace buckets to the selected hotbar slot, rather than the first available. (#4580)Alexander Harkness2020-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Bulk clearing of whitespaceLogicParrot2016-02-051-3/+3
|
* Placing a fluid from bucket calls plugin hooks.Mattes D2015-04-141-1/+8
| | | | Ref.: #1857.
* Rename CanRepairWithItem to CanRepairWithRawMaterial and rename Size() to Count()Howaner2014-05-061-6/+6
|
* Add anvil window and slot area.Howaner2014-05-051-0/+43
|
* Add commit what the code is doing.Howaner2014-04-251-0/+1
|
* Add unkown armor warning and fix armor stacks.Howaner2014-04-251-2/+14
|
* Fix armor in survival mode.Howaner2014-04-241-0/+54