Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-01-02 | ClientHandle: improve right-click robustness (#5372) | Tiger Wang | 1 | -6/+4 | |
* ClientHandle: improve right-click robustness + Add checks for result of GetBlockTypeMeta + Kick if the client sent an invalid block face or coordinate * Update outdated comments | |||||
2021-12-02 | ItemHandler initialisation is a constant expression (#5344) | x12xx12x | 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 | |||||
2021-05-05 | Move item placement into item handlers (#5184) | Tiger Wang | 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> | |||||
2020-04-21 | Vector3 in Handlers (#4680) | Mattes D | 1 | -21/+39 | |
Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | |||||
2019-10-16 | Refactored block-to-pickup conversion. (#4417) | Mattes D | 1 | -4/+1 | |
2018-01-05 | Item durability loss now depends on the item used. (#4123) | Alexander Harkness | 1 | -2/+8 | |
Armour durability also no longer changes when it is used to break blocks or attack mobs. Fixes #4119 | |||||
2017-08-13 | Replaced includes with forward declarations | Lukas Pioch | 1 | -1/+1 | |
2017-08-06 | Removed unneeded includes (#3902) | Lukas Pioch | 1 | -1/+0 | |
2017-07-30 | Consolidated food effects into EatItem, added all fish type FoodInfos. (#3875) | Lane Kolbly | 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 | |||||
2016-11-06 | Anticheat fastbreak (#3411) | mohe2015 | 1 | -0/+4 | |
Added block hardness checks when breaking blocks. | |||||
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -11/+11 | |
2015-07-14 | Improved maps | Tiger Wang | 1 | -1/+1 | |
2015-06-21 | Refactored block placement workflow. | Mattes D | 1 | -3/+17 | |
Multi-blocks can now use the default OnPlayerPlaced() callback in cItemHandler. | |||||
2015-04-14 | Placing a fluid from bucket calls plugin hooks. | Mattes D | 1 | -2/+7 | |
Ref.: #1857. | |||||
2014-12-24 | Refactored all player block placing to go through hooks. | Mattes D | 1 | -12/+27 | |
Fixes #1618. | |||||
2014-08-29 | Removed unused code | Tiger Wang | 1 | -1/+1 | |
2014-07-31 | Fixed hunger bugs, Implemented golden apple, added jump statistic, added correct food effects. | Howaner | 1 | -7/+9 | |
2014-07-26 | Rename function. | Howaner | 1 | -1/+1 | |
2014-07-23 | Fix item durability. | Howaner | 1 | -2/+15 | |
Fixes #1181 | |||||
2014-07-17 | More trailing whitespace fixes. | madmaxoft | 1 | -1/+1 | |
2014-07-17 | Basic style fixes. | madmaxoft | 1 | -2/+2 | |
2014-07-17 | Normalized comments. | madmaxoft | 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. | |||||
2014-06-17 | ItemHandler: changed IsDrinkable() to take a short argument | archshift | 1 | -2/+2 | |
2014-06-17 | Implemented drinkable potions, noeffect entity effect, | archshift | 1 | -1/+1 | |
Clears entity effects on death | |||||
2014-06-17 | Implemented milk, added documentation to Pawn.h | archshift | 1 | -0/+3 | |
2014-05-07 | Add repair cost to cItem, add custom name to NBTChunkSerializer and fix anvil bugs. | Howaner | 1 | -3/+0 | |
2014-05-06 | Rename CanRepairWithItem to CanRepairWithRawMaterial and rename Size() to Count() | Howaner | 1 | -1/+1 | |
2014-05-05 | Add anvil window and slot area. | Howaner | 1 | -0/+6 | |
2014-04-24 | Fix armor in survival mode. | Howaner | 1 | -15/+15 | |
2014-04-18 | Fixed clang compilation errors. Apparently gcc and MSVC do not care about the order of initializer lists, but clang does. | jfhumann | 1 | -1/+1 | |
2014-04-18 | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 1 | -1/+1 | |
2014-03-07 | Fixed warnings | Tycho | 1 | -0/+3 | |
2014-02-17 | Map item handler; Fixed several bugs | andrew | 1 | -0/+8 | |
2014-02-04 | Improved Type safety of eBlockFace | Tycho | 1 | -4/+4 | |
May Fix #640 | |||||
2013-12-22 | merged in warnings changes | Tycho Bickerstaff | 1 | -1/+7 | |
2013-12-22 | converted commneted paramater names to the unused macro | Tycho Bickerstaff | 1 | -1/+7 | |
2013-12-21 | Root is now warnings clean | Tycho Bickerstaff | 1 | -1/+1 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-08-30 | Shooting a bow kinda works. | madmaxoft | 1 | -3/+6 | |
The arrow is released, but sometimes hits wrong blocks or disappears completely. | |||||
2013-07-29 | Changed everyting to Unix line endings. | Alexander Harkness | 1 | -96/+96 | |
2013-07-28 | Implemented basic eating support. | madmaxoft | 1 | -8/+9 | |
Food is now properly consumed and it takes 1.5 sec. | |||||
2013-05-19 | Inventory code cleanup, players can now see each other's armor | madmaxoft@gmail.com | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1493 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-27 | Added the HOOK_BLOCK_TO_PICKUPS hook that fires when a block is dug up and should be converted to pickups. | madmaxoft@gmail.com | 1 | -1/+1 | |
Note that cItems is used in the function signature but not yet exported in the API, TODO! git-svn-id: http://mc-server.googlecode.com/svn/trunk@1176 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-12 | Merged branch "branches/hooks" into "trunk". | madmaxoft@gmail.com | 1 | -22/+34 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-15 | - Added the "wait" music disc | luksor111@gmail.com | 1 | -1/+1 | |
- Vines can now be placed on leaves git-svn-id: http://mc-server.googlecode.com/svn/trunk@1045 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-18 | Fixed a few bugs in fluid placement - fluid into other fluid, fluid into washable blocks. | madmaxoft@gmail.com | 1 | -7/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@977 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-03 | Moved blockticking into blockhandler classes. | madmaxoft@gmail.com | 1 | -1/+1 | |
Also slightly refactored the variable / argument names (BlockID is deprecated, use BlockType instead) git-svn-id: http://mc-server.googlecode.com/svn/trunk@921 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-29 | Unified folder name-casing | madmaxoft@gmail.com | 1 | -0/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-24 | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 1 | -0/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-22 | Added a documentation for block and item handlers | lapayo94@gmail.com | 1 | -1/+12 | |
Probably fixed dependencies on cWebPlugin_Lua Fixed VC2010 Project file git-svn-id: http://mc-server.googlecode.com/svn/trunk@778 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-18 | Packet refactoring, phase two, partial. Rewritten a few packet handling functions not to use cPacket-descendant objects. | madmaxoft@gmail.com | 1 | -1/+1 | |
This breaks plugin API! Plugins need to modify their hook functions to match those used in the Core plugin git-svn-id: http://mc-server.googlecode.com/svn/trunk@750 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-11 | Added cItemHandler::GetMaxStackSize() with a very basic implementation | madmaxoft@gmail.com | 1 | -0/+12 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@726 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-29 | Fixed warnings in item handlers - items' damage value is a short, but block meta is only a NIBBLETYPE. Also slight cleanup. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@704 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-17 | Simple health regeneration system | lapayo94@gmail.com | 1 | -2/+17 | |
Prepared for food git-svn-id: http://mc-server.googlecode.com/svn/trunk@679 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-16 | Some code improvements | lapayo94@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-16 | Fixed a copypasta error in previous commit | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@676 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-16 | Changed GetBlockMeta to return NIBBLETYPE instead of char | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@675 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-15 | A new Block handling system :o | lapayo94@gmail.com | 1 | -0/+45 | |
It was really a lot of work :D Took me the complete weekend :D Would really like to here your opinion on this =) The aim of this is to put all the actions for one block in one place so it is not spread around the source. (ToPickup, Action in cWorld, Action in cChunk, Action here, action there :D) git-svn-id: http://mc-server.googlecode.com/svn/trunk@671 0a769ca7-a7f5-676a-18bf-c427514a06d6 |