summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockCauldron.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Vector3 in Handlers (#4680)Mattes D2020-04-211-7/+14
| | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
* More Vector3 in cBlockHandler (#4644)Mattes D2020-04-171-7/+31
| | | | | * cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works.
* Using Super.Mattes D2020-04-161-2/+2
|
* Replace buckets to the selected hotbar slot, rather than the first available. (#4580)Alexander Harkness2020-04-021-5/+35
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix certain item drops (#4536)Mat2020-03-231-2/+7
| | | | | | | | | | | * Fix certain item drops * Revert unwanted changes * Revert unwanted changes * Revert change * Style fixes
* Don't remove items twice (#4524)Mat2020-03-221-4/+2
| | | * Don't remove items twice
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-7/+5
|
* cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050)Bond-0092017-11-201-1/+1
|
* cBlockHandler: take player by refpeterbell102017-08-011-7/+7
|
* allow use failures to propagate from the entity/block to the playerGargaj2015-12-131-1/+2
|
* Improved mapsTiger Wang2015-07-141-0/+6
|
* Cauldrons check the heightmapTiger Wang2014-06-141-1/+5
|
* Added checks for no downfall biomesTiger Wang2014-06-041-1/+1
|
* Cauldrons fillTiger Wang2014-05-291-0/+14
|
* Fixed a few Clang warnings in BlockHandlers.madmaxoft2014-03-301-1/+1
|
* Fix CauldronHowaner2014-02-201-8/+11
|
* Add 'Meta < 3' to CauldronHowaner2014-02-201-5/+8
|
* Refactored cBlockHandler::OnUse and dependentsTycho2014-01-261-4/+4
|
* First attempt at Implementing InterfacesTycho2014-01-251-1/+1
|
* Moved source to srcAlexander Harkness2013-11-241-0/+59