Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ItemHandler initialisation is a constant expression (#5344) | x12xx12x | 2021-12-02 | 1 | -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 | ||||
* | Vector3 in Handlers (#4680) | Mattes D | 2020-04-21 | 1 | -3/+16 |
| | | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | ||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -2/+2 |
| | |||||
* | Replace buckets to the selected hotbar slot, rather than the first available. (#4580) | Alexander Harkness | 2020-04-02 | 1 | -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 | ||||
* | Increase speed of splash potion and expbottle (#4513) | Mat | 2020-03-22 | 1 | -1/+4 |
| | |||||
* | Don't remove items twice (#4524) | Mat | 2020-03-22 | 1 | -1/+1 |
| | | | * Don't remove items twice | ||||
* | Minor changes (#3909) | mathiascode | 2017-08-24 | 1 | -1/+1 |
| | |||||
* | Removed unneeded includes (#3902) | Lukas Pioch | 2017-08-06 | 1 | -1/+1 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -12/+12 |
| | |||||
* | Placing a fluid from bucket calls plugin hooks. | Mattes D | 2015-04-14 | 1 | -1/+4 |
| | | | | Ref.: #1857. | ||||
* | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 2015-03-21 | 1 | -1/+1 |
| | |||||
* | Fixed potion removing in creative mode. | Howaner | 2014-08-30 | 1 | -2/+6 |
| | |||||
* | Fixed indentations, removed redundant init code in SplashPotionEntity.cpp | archshift | 2014-07-26 | 1 | -3/+5 |
| | |||||
* | Moved potion static functions to EntityEffect to create splash potions through world | archshift | 2014-07-26 | 1 | -129/+7 |
| | |||||
* | Splash potions: Renamed PotionParticleType to PotionColor for clarity | archshift | 2014-07-19 | 1 | -3/+3 |
| | |||||
* | Reformatted cItemPotionHandler. | madmaxoft | 2014-07-17 | 1 | -47/+77 |
| | |||||
* | Readability and clarity changes | archshift | 2014-07-14 | 1 | -30/+45 |
| | |||||
* | For now, removed creator member from Entity Effect for pointer safety | archshift | 2014-07-12 | 1 | -2/+2 |
| | |||||
* | EntityEffects.x -> EntityEffect.x, Object-Oriented effects | archshift | 2014-06-19 | 1 | -1/+1 |
| | | | | Changed effect map to take a pointer of the effect as a result. | ||||
* | Entity Effects: Clarified user, added it to AddEntityEffect | archshift | 2014-06-17 | 1 | -1/+1 |
| | | | | Added second AddEntityEffect with a pass-by-value of the class. | ||||
* | Changed the AddEntityEffect() params for easier calls. | madmaxoft | 2014-06-17 | 1 | -2/+1 |
| | |||||
* | Fixed MSVC compilation. | madmaxoft | 2014-06-17 | 1 | -7/+7 |
| | |||||
* | Pawn: renamed HandleEntityEffects to HandleEntityEffect | archshift | 2014-06-17 | 1 | -1/+1 |
| | | | | Exported entity effect functions for ToLua and documented them in APIDesc.lua | ||||
* | Removed long function wrapping | archshift | 2014-06-17 | 1 | -10/+2 |
| | |||||
* | ItemHandler: changed IsDrinkable() to take a short argument | archshift | 2014-06-17 | 1 | -9/+4 |
| | |||||
* | Splash potion: Adjusted speed, fixed spawn position | archshift | 2014-06-17 | 1 | -6/+3 |
| | |||||
* | Entity effect type: use 'eff' as a prefix instead of 'ef' | archshift | 2014-06-17 | 1 | -33/+33 |
| | |||||
* | Added splash potion functionality | archshift | 2014-06-17 | 1 | -1/+35 |
| | |||||
* | Implemented drinkable potions, noeffect entity effect, | archshift | 2014-06-17 | 1 | -0/+137 |
Clears entity effects on death |