Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ItemHandler initialisation is a constant expression (#5344) | x12xx12x | 2021-12-02 | 1 | -36/+29 |
| | | | | | * 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 | ||||
* | Move item placement into item handlers (#5184) | Tiger Wang | 2021-05-05 | 1 | -44/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Move item placement into item handlers + Add appropriate CanBeAt checks in cPlayer::PlaceBlocks, into which all placement handlers call. * Partly addresses #5157 * Fixes #4878 * Fixes #2919 * Fixes #4629 * Fixes #4239 * Fixes #4849 Co-authored-by: changyong guo <guo1487@163.com> Co-authored-by: Xotheus <shady3300@outlook.com> Co-authored-by: Krist Pregracke <krist@tiger-scm.com> * Review fixes * Update APIDesc.lua * Rename Co-authored-by: changyong guo <guo1487@163.com> Co-authored-by: Xotheus <shady3300@outlook.com> Co-authored-by: Krist Pregracke <krist@tiger-scm.com> | ||||
* | Vector3 in Handlers (#4680) | Mattes D | 2020-04-21 | 1 | -21/+39 |
| | | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | ||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -4/+1 |
| | |||||
* | Item durability loss now depends on the item used. (#4123) | Alexander Harkness | 2018-01-05 | 1 | -2/+8 |
| | | | | | | | Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119 | ||||
* | Replaced includes with forward declarations | Lukas Pioch | 2017-08-13 | 1 | -1/+1 |
| | |||||
* | Removed unneeded includes (#3902) | Lukas Pioch | 2017-08-06 | 1 | -1/+0 |
| | |||||
* | Consolidated food effects into EatItem, added all fish type FoodInfos. (#3875) | Lane Kolbly | 2017-07-30 | 1 | -4/+1 |
| | | | | | | | | * Consolidated food effects into EatItem, added all fish types. * Changed type of NumFishInfos to satisfy clang. * Removed unused call for a_Item in EatItem | ||||
* | Anticheat fastbreak (#3411) | mohe2015 | 2016-11-06 | 1 | -0/+4 |
| | | | Added block hardness checks when breaking blocks. | ||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -11/+11 |
| | |||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -1/+1 |
| | |||||
* | Refactored block placement workflow. | Mattes D | 2015-06-21 | 1 | -3/+17 |
| | | | | Multi-blocks can now use the default OnPlayerPlaced() callback in cItemHandler. | ||||
* | Placing a fluid from bucket calls plugin hooks. | Mattes D | 2015-04-14 | 1 | -2/+7 |
| | | | | Ref.: #1857. | ||||
* | Refactored all player block placing to go through hooks. | Mattes D | 2014-12-24 | 1 | -12/+27 |
| | | | | Fixes #1618. | ||||
* | Removed unused code | Tiger Wang | 2014-08-29 | 1 | -1/+1 |
| | |||||
* | Fixed hunger bugs, Implemented golden apple, added jump statistic, added correct food effects. | Howaner | 2014-07-31 | 1 | -7/+9 |
| | |||||
* | Rename function. | Howaner | 2014-07-26 | 1 | -1/+1 |
| | |||||
* | Fix item durability. | Howaner | 2014-07-23 | 1 | -2/+15 |
| | | | Fixes #1181 | ||||
* | More trailing whitespace fixes. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -2/+2 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -4/+4 |
| | | | | | This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign. | ||||
* | ItemHandler: changed IsDrinkable() to take a short argument | archshift | 2014-06-17 | 1 | -2/+2 |
| | |||||
* | Implemented drinkable potions, noeffect entity effect, | archshift | 2014-06-17 | 1 | -1/+1 |
| | | | | Clears entity effects on death | ||||
* | Implemented milk, added documentation to Pawn.h | archshift | 2014-06-17 | 1 | -0/+3 |
| | |||||
* | Add repair cost to cItem, add custom name to NBTChunkSerializer and fix anvil bugs. | Howaner | 2014-05-07 | 1 | -3/+0 |
| | |||||
* | Rename CanRepairWithItem to CanRepairWithRawMaterial and rename Size() to Count() | Howaner | 2014-05-06 | 1 | -1/+1 |
| | |||||
* | Add anvil window and slot area. | Howaner | 2014-05-05 | 1 | -0/+6 |
| | |||||
* | Fix armor in survival mode. | Howaner | 2014-04-24 | 1 | -15/+15 |
| | |||||
* | Fixed clang compilation errors. Apparently gcc and MSVC do not care about the order of initializer lists, but clang does. | jfhumann | 2014-04-18 | 1 | -1/+1 |
| | |||||
* | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 2014-04-18 | 1 | -1/+1 |
| | |||||
* | Fixed warnings | Tycho | 2014-03-07 | 1 | -0/+3 |
| | |||||
* | Map item handler; Fixed several bugs | andrew | 2014-02-17 | 1 | -0/+8 |
| | |||||
* | Improved Type safety of eBlockFace | Tycho | 2014-02-04 | 1 | -4/+4 |
| | | | | May Fix #640 | ||||
* | converted commneted paramater names to the unused macro | Tycho Bickerstaff | 2013-12-22 | 1 | -1/+7 |
| | |||||
* | Root is now warnings clean | Tycho Bickerstaff | 2013-12-21 | 1 | -1/+1 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+99 |