summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockCauldron.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-10-05Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)peterbell101-1/+1
* Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
2020-09-25Unify block entity pickup conversionTiger Wang1-1/+1
- Removed normal BlockHandler knowledge of block entities during conversion + Added cBlockEntity::ConvertToPickups that handles it
2020-09-20Cauldron: backport "use" behaviour to 1.12 (#4902)Tiger Wang1-10/+20
* Cauldron: backport "use" behaviour to 1.12
2020-09-20BlockHandler initialisation is a constant expression (#4891)Tiger Wang1-12/+7
* BlockHandler initialisation is a constant expression If we can't make it all namespaces, this is the next best I guess. + Tag handlers constexpr, const as needed + Inherit constructors * Privatise handler functions * More constexpr Co-authored-by: Alexander Harkness <me@bearbin.net>
2020-09-20Added armor and shulker box cleaning (#4875)12xx121-2/+57
+ Added armor and shulker box cleaning
2020-09-05Add more statistic tracking (#4837)12xx121-0/+2
+ Added possible 1.8 stats + Added stat tracking for 1.8.2 + Added stat tracking for 1.9 + Added the breed cow achievement Co-authored-by: 12xx12 <12xx12100@gmail.com>
2020-04-21Vector3 in Handlers (#4680)Mattes D1-7/+14
Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
2020-04-17More Vector3 in cBlockHandler (#4644)Mattes D1-7/+31
* cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works.
2020-04-16Using Super.Mattes D1-2/+2
2020-04-02Replace buckets to the selected hotbar slot, rather than the first available. (#4580)Alexander Harkness1-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
2020-03-23Fix certain item drops (#4536)Mat1-2/+7
* Fix certain item drops * Revert unwanted changes * Revert unwanted changes * Revert change * Style fixes
2020-03-22Don't remove items twice (#4524)Mat1-4/+2
* Don't remove items twice
2019-10-16Refactored block-to-pickup conversion. (#4417)Mattes D1-7/+5
2017-11-20cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050)Bond-0091-1/+1
2017-08-01cBlockHandler: take player by refpeterbell101-7/+7
2015-12-13allow use failures to propagate from the entity/block to the playerGargaj1-1/+2
2015-07-14Improved mapsTiger Wang1-0/+6
2014-06-14Cauldrons check the heightmapTiger Wang1-1/+5
2014-06-04Added checks for no downfall biomesTiger Wang1-1/+1
2014-05-29Cauldrons fillTiger Wang1-0/+14
2014-03-30Fixed a few Clang warnings in BlockHandlers.madmaxoft1-1/+1
2014-02-20Fix CauldronHowaner1-8/+11
2014-02-20Add 'Meta < 3' to CauldronHowaner1-5/+8
2014-01-26Refactored cBlockHandler::OnUse and dependentsTycho1-4/+4
2014-01-25First attempt at Implementing InterfacesTycho1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-59/+59
2013-05-24Refactored cInventory to use cItemGrid for the actual Storagemadmaxoft@gmail.com1-5/+3
This makes the API more orthogonal and is easier to use in the plugins. Also changes in the inventory are now propagated to the needed places (armor updates to BroadcastEntityEquipment etc.) even when the inventory is changed by a plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1503 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-29Fixed compilation error in BlockCauldron.h on Linuxluksor111@gmail.com1-2/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1117 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-29Cauldrons and Brewing Stands are now placeableluksor111@gmail.com1-0/+59
Cauldrons can be filled with water and used to fill bottles git-svn-id: http://mc-server.googlecode.com/svn/trunk@1116 0a769ca7-a7f5-676a-18bf-c427514a06d6