Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2019-10-28 | Moved growing from cWorld / cChunk to cBlockHandler descendants. | Mattes D | 1 | -0/+4 | |
2019-10-16 | Refactored block-to-pickup conversion. (#4417) | Mattes D | 1 | -27/+67 | |
2019-08-05 | Register vanilla blocks in BlockTypeRegistry. | Mattes D | 1 | -0/+7 | |
2018-01-08 | Rewrite cClientHandle::HandleRightClick (#4089) | 9caihezi | 1 | -1/+2 | |
* Add hand parameter to distinguish main hand/off hand. * Add a new function cClientHandle::HandleUseItem to separate the functionality of using an item without a target block. This matches the protocol with client version >= 1.9 * Always actively update the status of a block if the placement fails (by out of reach or rejected by plugin). * Do not call plugin callback CallHookPlayerRightClick(-1, 255, -1, -1, 0, 0, 0) when using item. The CallHookPlayerUsingItem will still be called. Now at most one of CallHookPlayerRightClick, CallHookPlayerUsingBlock, CallHookPlayerUsingItem and CallHookPlayerEating will be called based on the type of action (not including the used version of callbacks). * Do not count using item as BlockInteractionsRate check (Using item takes time). * Now we can open chests(etc.) when sneaking as long as the player's hand is empty. This is what vanilla server does. | |||||
2017-11-20 | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 1 | -1/+1 | |
2017-08-25 | Bed piston fix (#3956) | Lane Kolbly | 1 | -2/+2 | |
* Threaded world interface into ConvertBlockToPickups * Changed how cBlockPiston::PushBlocks sets the old block to air, so that the block exists for the DropBlock call. * Removed unused a_Digger argument. * Removed incorrect comment * This time actually removed a_Digger references. | |||||
2017-08-24 | Minor changes (#3909) | mathiascode | 1 | -1/+1 | |
2017-08-01 | cBlockHandler: take player by ref | peterbell10 | 1 | -6/+6 | |
2017-07-28 | Check for intersection between placed blocks and entities. (#3850) | Lane Kolbly | 1 | -0/+7 | |
* Check for intersection between placed blocks and entities. + Implemented GetPlacementCollisionBox, to permit custom placement collision boxes for blocks. * Factored block-entity placement checking into another function in cPlayer. - Removed vector min/max functions * Use GetWorld to get the world in DoesPlacingBlocksIntersectEntity. + Added block height checks, allow different cEntity subclasses to decide whether they will prevent block placement. | |||||
2017-07-07 | BigFlower fixes (#3826) | peterbell10 | 1 | -9/+4 | |
* BigFlowers fixes * Correct upper part meta * Documented parameters to DoesIgnoreBuildCollision | |||||
2017-07-07 | Added bed entity (#3823) | Lukas Pioch | 1 | -0/+4 | |
* Added bed entity * Export cBedEntity to lua * Set color of bed through item damage value * Added bed entity to APIDoc * NBT: Added loading and saving * Crafting recipes for the colored beds | |||||
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -21/+21 | |
2015-12-13 | blockheight mechanism | Gargaj | 1 | -1/+5 | |
2015-12-13 | allow use failures to propagate from the entity/block to the player | Gargaj | 1 | -2/+3 | |
2015-08-19 | * Logic for handling plant growth has been centralized into cBlockPlant, and all growable plants now inherit from it. | Samuel Barney | 1 | -0/+3 | |
* Blocks now have an effect upon plant growth, just like in vanilla. | |||||
2015-07-31 | Unified the doxy-comment format. | Mattes D | 1 | -19/+18 | |
2015-07-14 | Improved maps | Tiger Wang | 1 | -0/+3 | |
2015-07-01 | Added neighbor specification in the OnNeighborChanged() block callback. | Mattes D | 1 | -7/+13 | |
Fixes the OnNeighborChanged endless recursion with large melon / pumpkin fields. Fixes #2213. | |||||
2015-06-22 | Rebased version of Code | Samuel Barney | 1 | -3/+0 | |
2014-12-24 | Refactored all player block placing to go through hooks. | Mattes D | 1 | -11/+10 | |
Fixes #1618. | |||||
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -1/+1 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -1/+1 | |
2014-09-26 | Removed more unessicary includes | Tycho | 1 | -4/+4 | |
2014-09-13 | Improved cBlockHandler::DropBlock | Tiger Wang | 1 | -1/+1 | |
2014-09-09 | Moved sound-configs into BlockID.h and fixed/ added loads of sounds | Masy98 | 1 | -3/+0 | |
2014-07-24 | Fixed block drops | Tiger Wang | 1 | -1/+2 | |
* Fixes #1242 (the issue addressed within) | |||||
2014-07-24 | Removed redundant semicolons and re-added warning | archshift | 1 | -4/+4 | |
2014-07-20 | Proper comment for DropBlock() | Tiger Wang | 1 | -2/+5 | |
2014-07-17 | Fixed issues relating to saplings and leaves | Tiger Wang | 1 | -5/+5 | |
- Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201 | |||||
2014-07-17 | Basic style fixes. | madmaxoft | 1 | -11/+11 | |
2014-05-07 | Rename CanChangeDirtToGrass to CanDirtGrowGrass | Howaner | 1 | -2/+2 | |
2014-04-06 | Remove old import | Howaner | 1 | -1/+1 | |
2014-04-06 | Add CanChangeDirtToGrass function to Block Handlers. | Howaner | 1 | -0/+3 | |
2014-03-08 | Fixed issues with int vs size_t and a few other warnings | Tycho | 1 | -0/+2 | |
2014-03-05 | Add SendBlockTo to cWorldInterface | Howaner | 1 | -1/+1 | |
2014-03-05 | Add data backsending, when the Client interacts a Block and the Interact is cancelled. | Howaner | 1 | -1/+4 | |
2014-03-02 | cBlockInfo now manages the respective cBlockHandler | andrew | 1 | -19/+3 | |
2014-02-04 | Improved Type safety of eBlockFace | Tycho | 1 | -3/+3 | |
May Fix #640 | |||||
2014-02-02 | Changed Signiture of OnUpdate | Tycho | 1 | -3/+4 | |
2014-02-01 | Changed Signiture of OnDigging | Tycho | 1 | -1/+1 | |
2014-02-01 | Changed Signiture of OnDestroyedByPlayer | Tycho | 1 | -2/+2 | |
2014-02-01 | Changed pointers to references | Tycho | 1 | -9/+9 | |
2014-02-01 | Changed signitures of Several BLockHandler Methods | Tycho | 1 | -4/+4 | |
Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | |||||
2014-01-26 | Refactored GetPlacementBlockTypeMeta | Tycho | 1 | -1/+1 | |
2014-01-26 | Refactored cBlockHandler::OnUse and dependents | Tycho | 1 | -6/+6 | |
2014-01-25 | First attempt at Implementing Interfaces | Tycho | 1 | -1/+2 | |
2013-12-22 | merged in warnings changes | Tycho Bickerstaff | 1 | -1/+5 | |
2013-12-22 | converted commneted paramater names to the unused macro | Tycho Bickerstaff | 1 | -1/+5 | |
2013-12-21 | Piston is now warnings clean | Tycho Bickerstaff | 1 | -1/+1 | |
2013-11-30 | Changed cBlockHandler->OnUpdate() to use cChunk directly. | madmaxoft | 1 | -3/+4 | |
2013-11-30 | Properly fixed snow height, fixes #98 and #264 | Tiger Wang | 1 | -10/+17 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-11-05 | Clarified cBlockHandler::ConvertToPickups() dox. | madmaxoft | 1 | -1/+1 | |
2013-09-15 | Removed leftover CanBePlacedOnSide | Tiger Wang | 1 | -3/+0 | |
2013-09-15 | Removed leftover DoesAllowBlockOnTop | Tiger Wang | 1 | -4/+1 | |
2013-07-29 | Changed everyting to Unix line endings. | Alexander Harkness | 1 | -158/+158 | |
2013-03-26 | BlockArea: Finished rotation and mirroring with meta. Implemented example meta handling for vines, stairs and torches. | madmaxoft@gmail.com | 1 | -0/+15 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1319 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-15 | Huge performance boost in blockhandlers, they have direct access to chunk data when blockchecking. | madmaxoft@gmail.com | 1 | -4/+5 | |
Also fixed vines' placement. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1278 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 | -2/+2 | |
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 | -10/+24 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-23 | New Block property g_BlockIsSolid[]; Fixed ladder, torches and vines placement. (Patch contributed by funmaker) | luksor111@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1005 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-14 | Floody fluid simulator now dries up correctly, too. | madmaxoft@gmail.com | 1 | -0/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@964 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-03 | Moved blockticking into blockhandler classes. | madmaxoft@gmail.com | 1 | -18/+19 | |
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-10-01 | Slight refactoring of BlockHandlers - dropping unneeded virtual functions | madmaxoft@gmail.com | 1 | -42/+73 | |
( http://forum.mc-server.org/showthread.php?tid=434&pid=4734#pid4734 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@917 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-09-11 | Merged in a patch for sounds by l0udPL | madmaxoft@gmail.com | 1 | -1/+2 | |
http://forum.mc-server.org/showthread.php?tid=434&pid=4564#pid4564 git-svn-id: http://mc-server.googlecode.com/svn/trunk@858 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-22 | Added a documentation for block and item handlers | lapayo94@gmail.com | 1 | -6/+29 | |
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-19 | Fixed Bug #236 | lapayo94@gmail.com | 1 | -1/+2 | |
Workbench, Chest and Furnace are usable again git-svn-id: http://mc-server.googlecode.com/svn/trunk@755 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-06 | A bit of cleanup and documentation around the UI window handling | madmaxoft@gmail.com | 1 | -12/+21 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@716 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-06 | BLOCKTYPE signedness change - fixed more details | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@713 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-16 | Some code improvements | lapayo94@gmail.com | 1 | -6/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-16 | Fixed some small bugs :) | lapayo94@gmail.com | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@672 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-15 | A new Block handling system :o | lapayo94@gmail.com | 1 | -0/+54 | |
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 |