summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemArmor.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-04-03Basic elytra flight (#5124)Damián Imrich1-8/+2
* Basic elytra flight Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
2020-04-21Vector3 in Handlers (#4680)Mattes D1-12/+23
Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
2020-04-02Replace buckets to the selected hotbar slot, rather than the first available. (#4580)Alexander Harkness1-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
2016-02-05Bulk clearing of whitespaceLogicParrot1-3/+3
2015-04-14Placing a fluid from bucket calls plugin hooks.Mattes D1-1/+8
Ref.: #1857.
2014-05-06Rename CanRepairWithItem to CanRepairWithRawMaterial and rename Size() to Count()Howaner1-6/+6
2014-05-05Add anvil window and slot area.Howaner1-0/+43
2014-04-25Add commit what the code is doing.Howaner1-0/+1
2014-04-25Add unkown armor warning and fix armor stacks.Howaner1-2/+14
2014-04-24Fix armor in survival mode.Howaner1-0/+54