Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move item placement into item handlers (#5184) | Tiger Wang | 2021-05-05 | 1 | -182/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) | peterbell10 | 2020-10-05 | 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> | ||||
* | Unify block entity pickup conversion | Tiger Wang | 2020-09-25 | 1 | -3/+2 |
| | | | | | - Removed normal BlockHandler knowledge of block entities during conversion + Added cBlockEntity::ConvertToPickups that handles it | ||||
* | BlockHandler initialisation is a constant expression (#4891) | Tiger Wang | 2020-09-20 | 1 | -41/+32 |
| | | | | | | | | | | | | | * 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> | ||||
* | Vector3 in Handlers (#4680) | Mattes D | 2020-04-21 | 1 | -13/+14 |
| | | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | ||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -3/+3 |
| | |||||
* | Fix rotation metas on blocks | Alexander Harkness | 2020-04-11 | 1 | -2/+2 |
| | |||||
* | Add mixins for blocks that rotate based on player yaw at placement | Alexander Harkness | 2020-04-10 | 1 | -10/+14 |
| | | | | Also add observer block handler. | ||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -9/+31 |
| | |||||
* | cBlockHandler: take player by ref | peterbell10 | 2017-08-01 | 1 | -2/+2 |
| | |||||
* | Fixed bindings for cBlockArea:Read and Write. (#3568) | Mattes D | 2017-02-05 | 1 | -2/+2 |
| | | | The original bindings accepted nil as the World param, causing a crash. | ||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -8/+8 |
| | |||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -7/+7 |
| | |||||
* | Refactored all player block placing to go through hooks. | Mattes D | 2014-12-24 | 1 | -52/+13 |
| | | | | Fixes #1618. | ||||
* | Moved sound-configs into BlockID.h and fixed/ added loads of sounds | Masy98 | 2014-09-09 | 1 | -6/+0 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -2/+2 |
| | |||||
* | Implemented trapped chests & others | Tiger Wang | 2014-07-07 | 1 | -22/+22 |
| | | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes | ||||
* | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 2014-04-18 | 1 | -0/+1 |
| | |||||
* | Fixed spelling; Rotater to Rotator. | narroo | 2014-03-25 | 1 | -3/+3 |
| | |||||
* | Added MetaRotate/Mirror Support for a number of classes. | narroo | 2014-03-24 | 1 | -2/+2 |
| | |||||
* | Reformatted | Tycho | 2014-03-02 | 1 | -2/+2 |
| | |||||
* | Fixed errors | Tycho | 2014-03-01 | 1 | -1/+1 |
| | |||||
* | Implemented Rotations | Tycho | 2014-03-01 | 1 | -2/+3 |
| | |||||
* | Added some Metadate rotaters using templated Mixin | Tycho | 2014-02-27 | 1 | -2/+2 |
| | |||||
* | Merge pull request #644 from worktycho/warningfixes | Mattes D | 2014-02-04 | 1 | -2/+2 |
|\ | | | | | Improved Type safety of eBlockFace | ||||
| * | Improved Type safety of eBlockFace | Tycho | 2014-02-04 | 1 | -2/+2 |
| | | | | | | | | May Fix #640 | ||||
* | | Fixed chest placement. | madmaxoft | 2014-02-04 | 1 | -2/+4 |
|/ | | | | Fixes #624. | ||||
* | Merge branch 'master' of https://github.com/mc-server/MCServer | Tiger Wang | 2014-02-02 | 1 | -14/+18 |
|\ | |||||
| * | Changed pointers to references | Tycho | 2014-02-01 | 1 | -9/+9 |
| | | |||||
| * | Changed signitures of Several BLockHandler Methods | Tycho | 2014-02-01 | 1 | -3/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | ||||
| * | Refactored GetPlacementBlockTypeMeta | Tycho | 2014-01-26 | 1 | -1/+0 |
| | | |||||
| * | Refactored cBlockHandler::OnUse and dependents | Tycho | 2014-01-26 | 1 | -13/+13 |
| | | |||||
* | | Fixed #624 | Tiger Wang | 2014-02-02 | 1 | -0/+6 |
|/ | |||||
* | Removed internal cEntity::GetRot() usage. | madmaxoft | 2014-01-17 | 1 | -5/+5 |
| | |||||
* | Removed obsoleted functions | Tiger Wang | 2014-01-16 | 1 | -2/+2 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+223 |