Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-04-20 | Valid Height is now checked by vector. | x12xx12x | 1 | -1/+1 | |
2022-04-20 | Updated protocol functions to Vector3x | x12xx12x | 1 | -1/+1 | |
also added support in included functions | |||||
2022-01-02 | Handlers: update item and block handlers (#5371) | Tiger Wang | 1 | -1/+1 | |
+ Resend blocks when server rejects placement because in a block * Fix chest handler not invoked, fixes #5367 * Fix comparator handler not invoked * Update some naming | |||||
2021-05-05 | Move item placement into item handlers (#5184) | Tiger Wang | 1 | -66/+49 | |
* 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> | |||||
2021-03-28 | Do not fake a tool when converting to pickups (#5170) | Tiger Wang | 1 | -1/+1 | |
* When the cause of destruction was world-induced (CanBeAt check failed) there is no tool. Pass the nullptr directly to ConvertToPickups and let it handle it. * Fixes #4795 - Remove unused a_Digger parameter to ConvertToPickups. | |||||
2021-03-15 | Remove DoesDropOnUnsuitable | Tiger Wang | 1 | -13/+0 | |
This is only overridden false in Vines and Snow. It is called when a CanBeAt check fails, to determine whether DropBlockAsPickups is called. However, Vines and Snow already drop nothing without the right tool, so this function is superfluous. | |||||
2021-01-18 | cChunk: don't inherit from cChunkDef (#5106) | Tiger Wang | 1 | -1/+1 | |
2020-10-05 | Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) | peterbell10 | 1 | -1/+1 | |
* Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | |||||
2020-09-25 | Unify block entity pickup conversion | Tiger Wang | 1 | -1/+1 | |
- Removed normal BlockHandler knowledge of block entities during conversion + Added cBlockEntity::ConvertToPickups that handles it | |||||
2020-09-20 | BlockHandler initialisation is a constant expression (#4891) | Tiger Wang | 1 | -19/+14 | |
* BlockHandler initialisation is a constant expression If we can't make it all namespaces, this is the next best I guess. + Tag handlers constexpr, const as needed + Inherit constructors * Privatise handler functions * More constexpr Co-authored-by: Alexander Harkness <me@bearbin.net> | |||||
2020-08-04 | Corrected wakeup sequences | Tiger Wang | 1 | -10/+9 | |
* Pistons/Ice no longer need to FastSetBlock first (#4600), and the former don't drop items when broken in creative - Begin migration away from stationary fluids * Tick the chunk after applying a client's changed * Broadcast pending blocks at the end of a tick | |||||
2020-08-02 | Always use relative coordinates in AddBlock | Tiger Wang | 1 | -2/+1 | |
+ Pass block, use relatives * Fixes everything immediately converting abs back to rel and getting block, when these data were already available | |||||
2020-04-21 | Vector3 in Handlers (#4680) | Mattes D | 1 | -6/+8 | |
Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | |||||
2020-04-17 | More Vector3 in cBlockHandler (#4644) | Mattes D | 1 | -5/+13 | |
* cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works. | |||||
2020-04-16 | Using Super. | Mattes D | 1 | -2/+2 | |
2019-10-16 | Refactored block-to-pickup conversion. (#4417) | Mattes D | 1 | -23/+90 | |
2017-11-20 | cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050) | Bond-009 | 1 | -4/+4 | |
2017-08-17 | Changed int parameters to vector parameters in cCuboid and simulators (#3874) | Lane Kolbly | 1 | -1/+1 | |
2017-08-06 | Removed unneeded includes (#3902) | Lukas Pioch | 1 | -2/+2 | |
2017-08-01 | cBlockHandler: take player by ref | peterbell10 | 1 | -1/+1 | |
2017-07-07 | BigFlower fixes (#3826) | peterbell10 | 1 | -1/+1 | |
* BigFlowers fixes * Correct upper part meta * Documented parameters to DoesIgnoreBuildCollision | |||||
2017-06-21 | Fix shears (and vines) | Bond-009 | 1 | -1/+7 | |
* Shears now lose durability when breaking any block * Leaves don't drop 2 leaves anymore when broken by shears * Removed the chance to drop saplings or apples when leaves are broken by shears * Vines can't be attached to ender chests, pistons and redstone repeaters | |||||
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -4/+4 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 1 | -2/+2 | |
2015-07-14 | Improved maps | Tiger Wang | 1 | -16/+8 | |
2015-05-23 | Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher. | Lukas Pioch | 1 | -1/+1 | |
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-10-15 | Functions in cPluginManager get references instead of pointers. | Mattes D | 1 | -2/+10 | |
2014-10-07 | Corrected IsBlockAttachable() in BlockVine.h | Howaner | 1 | -5/+15 | |
2014-09-26 | Removed more unessicary includes | Tycho | 1 | -1/+1 | |
2014-09-09 | Moved sound-configs into BlockID.h and fixed/ added loads of sounds | Masy98 | 1 | -6/+0 | |
2014-08-19 | Code formatting fixes. | Howaner | 1 | -3/+3 | |
2014-07-23 | Fix item durability. | Howaner | 1 | -0/+7 | |
Fixes #1181 | |||||
2014-07-21 | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 1 | -1/+1 | |
2014-07-17 | Basic style fixes. | madmaxoft | 1 | -1/+1 | |
2014-04-01 | Fixed clang warnings in BlockHandlers. | madmaxoft | 1 | -2/+2 | |
2014-03-30 | Fixed a few Clang warnings in BlockHandlers. | madmaxoft | 1 | -2/+2 | |
2014-03-27 | Change SpreadSource prefix to ss | Howaner | 1 | -1/+1 | |
2014-03-27 | Add SpreadSource | Howaner | 1 | -1/+4 | |
2014-03-25 | Fixed spelling; Rotater to Rotator. | narroo | 1 | -1/+1 | |
2014-03-16 | Add new leaves to all classes. | Howaner | 1 | -1/+1 | |
2014-03-07 | Fixed warnings | Tycho | 1 | -3/+13 | |
2014-03-02 | Reverted BlockVine | worktycho | 1 | -3/+27 | |
2014-03-01 | g_BlockXXX => cBlockInfo::XXX | andrew | 1 | -1/+1 | |
2014-03-01 | Implemented Rotations | Tycho | 1 | -27/+3 | |
2014-02-04 | Improved Type safety of eBlockFace | Tycho | 1 | -1/+1 | |
May Fix #640 | |||||
2014-02-02 | Changed Signiture of OnUpdate | Tycho | 1 | -2/+2 | |
2014-02-01 | Changed pointers to references | Tycho | 1 | -3/+3 | |
2014-02-01 | Changed signitures of Several BLockHandler Methods | Tycho | 1 | -3/+3 | |
Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | |||||
2013-12-20 | Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT). | madmaxoft | 1 | -1/+1 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-09-15 | Fixed tigerw's leftovers. | madmaxoft | 1 | -6/+0 | |
2013-08-24 | Vines now spread when updated | Tiger Wang | 1 | -0/+7 | |
2013-07-29 | Changed everyting to Unix line endings. | Alexander Harkness | 1 | -200/+200 | |
2013-06-04 | Removed cLadder, cSign, cStairs, cTorch and cVine classes, moved their functionality into the appropriate BlockHandlers / ItemHandlers | madmaxoft@gmail.com | 1 | -3/+28 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1555 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-26 | BlockArea: Finished rotation and mirroring with meta. Implemented example meta handling for vines, stairs and torches. | madmaxoft@gmail.com | 1 | -1/+27 | |
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 | -26/+79 | |
Also fixed vines' placement. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1278 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-12 | Merged branch "branches/hooks" into "trunk". | madmaxoft@gmail.com | 1 | -11/+17 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-16 | Fixed boolean comparison. | madmaxoft@gmail.com | 1 | -3/+3 | |
Don't compare booleans to false / true, use them directly. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1048 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-11-15 | - Added the "wait" music disc | luksor111@gmail.com | 1 | -4/+6 | |
- 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-23 | New Block property g_BlockIsSolid[]; Fixed ladder, torches and vines placement. (Patch contributed by funmaker) | luksor111@gmail.com | 1 | -4/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1005 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-22 | Slight formatting tuneup to the previous commit. | madmaxoft@gmail.com | 1 | -4/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1003 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-22 | Vine decay (patch contributed by funmaker) | madmaxoft@gmail.com | 1 | -7/+44 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1002 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-03 | Moved blockticking into blockhandler classes. | madmaxoft@gmail.com | 1 | -5/+5 | |
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 | -7/+20 | |
( 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 | -2/+2 | |
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/+6 | |
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-07-16 | Some code improvements | lapayo94@gmail.com | 1 | -6/+13 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-15 | A new Block handling system :o | lapayo94@gmail.com | 1 | -0/+23 | |
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 |