summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemPotion.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-09-27Update Minecraft Wiki links to new domain (#5532)Spongecade1-1/+1
* Update Minecraft Wiki links to new domain * Added Spongecade to contributors * Sorted Spongecade
2021-12-02ItemHandler initialisation is a constant expression (#5344)x12xx12x1-8/+5
* Transition to non-pointer item handler * That is my destructor - I decide when I leave this world * I declare your destruction private and you final
2020-04-21Vector3 in Handlers (#4680)Mattes D1-3/+16
Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
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-2/+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
2020-03-22Increase speed of splash potion and expbottle (#4513)Mat1-1/+4
2020-03-22Don't remove items twice (#4524)Mat1-1/+1
* Don't remove items twice
2017-08-24Minor changes (#3909)mathiascode1-1/+1
2017-08-06Removed unneeded includes (#3902)Lukas Pioch1-1/+1
2016-02-05Bulk clearing of whitespaceLogicParrot1-12/+12
2015-04-14Placing a fluid from bucket calls plugin hooks.Mattes D1-1/+4
Ref.: #1857.
2015-03-21Changed cEntity::m_UniqueID to UInt32.Mattes D1-1/+1
2014-08-30Fixed potion removing in creative mode.Howaner1-2/+6
2014-07-26Fixed indentations, removed redundant init code in SplashPotionEntity.cpparchshift1-3/+5
2014-07-26Moved potion static functions to EntityEffect to create splash potions through worldarchshift1-129/+7
2014-07-19Splash potions: Renamed PotionParticleType to PotionColor for clarityarchshift1-3/+3
2014-07-17Reformatted cItemPotionHandler.madmaxoft1-47/+77
2014-07-14Readability and clarity changesarchshift1-30/+45
2014-07-12For now, removed creator member from Entity Effect for pointer safetyarchshift1-2/+2
2014-06-19EntityEffects.x -> EntityEffect.x, Object-Oriented effectsarchshift1-1/+1
Changed effect map to take a pointer of the effect as a result.
2014-06-17Entity Effects: Clarified user, added it to AddEntityEffectarchshift1-1/+1
Added second AddEntityEffect with a pass-by-value of the class.
2014-06-17Changed the AddEntityEffect() params for easier calls.madmaxoft1-2/+1
2014-06-17Fixed MSVC compilation.madmaxoft1-7/+7
2014-06-17Pawn: renamed HandleEntityEffects to HandleEntityEffectarchshift1-1/+1
Exported entity effect functions for ToLua and documented them in APIDesc.lua
2014-06-17Removed long function wrappingarchshift1-10/+2
2014-06-17ItemHandler: changed IsDrinkable() to take a short argumentarchshift1-9/+4
2014-06-17Splash potion: Adjusted speed, fixed spawn positionarchshift1-6/+3
2014-06-17Entity effect type: use 'eff' as a prefix instead of 'ef'archshift1-33/+33
2014-06-17Added splash potion functionalityarchshift1-1/+35
2014-06-17Implemented drinkable potions, noeffect entity effect,archshift1-0/+137
Clears entity effects on death