Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merged OnBreak with OnPlayerBreak (#4967) | 12xx12 | 2020-10-08 | 1 | -2/+4 |
| | | | | Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963) | peterbell10 | 2020-10-05 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | * 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 | -1/+1 |
| | | | | | - 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 | -16/+20 |
| | | | | | | | | | | | | | * 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> | ||||
* | Corrected wakeup sequences | Tiger Wang | 2020-08-04 | 1 | -6/+1 |
| | | | | | | | * 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 | ||||
* | Precompile unordered_map/set | Tiger Wang | 2020-07-19 | 1 | -1/+0 |
| | | | | | | + Add inclusions to Globals.h * Sort Globals.h - Remove sys/stat.h from Globals.h | ||||
* | Using Super. | Mattes D | 2020-04-16 | 1 | -2/+2 |
| | |||||
* | 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 | -46/+2 |
| | | | | Also add observer block handler. | ||||
* | Ender chest is not affected by piston (#4526) | Mat | 2020-03-22 | 1 | -1/+1 |
| | |||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -14/+27 |
| | |||||
* | At long last... Piston animations! | Tiger Wang | 2018-07-25 | 1 | -0/+6 |
| | | | | | * Fixes #3198 * Fixes #57 (again lol) | ||||
* | cBlockHandler: take player by ref | peterbell10 | 2017-08-01 | 1 | -2/+2 |
| | |||||
* | Allocate redstone component handlers upfront | peterbell10 | 2017-07-17 | 1 | -4/+4 |
| | |||||
* | Added some blocks and items (#3503) | mathiascode | 2017-02-14 | 1 | -0/+4 |
| | |||||
* | Redstone fixes (#3285) | Tiger Wang | 2016-07-31 | 1 | -3/+3 |
| | | | | | | | | * Comparators and pistons no longer update instantly * Fixes #3168. * Consolidated comparator code * As a result, fixed an issue where GetPowerLevel didn't consider block entities behind it (only GetFrontPowerLevel did) | ||||
* | Revert "Redstone fixes" | Mattes D | 2016-07-29 | 1 | -3/+3 |
| | |||||
* | Comparators and pistons no longer update instantly | Tiger Wang | 2016-07-29 | 1 | -3/+3 |
| | | | | * Fixes #3168. | ||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -5/+5 |
| | |||||
* | Reorganised the redstone simulator | Tiger Wang | 2015-12-18 | 1 | -1/+1 |
| | | | | | | -> Many thanks to @worktycho for the idea, and @Haxi52 for the implementation plan! * Uses classes and inheritance now * Speed should be improved | ||||
* | Refactored code to use vectors in the cPistonHandler class | bibo38 | 2015-11-07 | 1 | -3/+3 |
| | |||||
* | Added some code improvements | bibo38 | 2015-11-07 | 1 | -6/+6 |
| | |||||
* | Renamed GetDirectionVec into VectorFromMetaData to improve code readability. | bibo38 | 2015-11-07 | 1 | -1/+1 |
| | |||||
* | Commented the GetDirectionVec method | bibo38 | 2015-11-07 | 1 | -0/+3 |
| | |||||
* | Fixed the style problems and added some comments | bibo38 | 2015-11-07 | 1 | -0/+1 |
| | |||||
* | Removed unused CanPull method | bibo38 | 2015-11-07 | 1 | -11/+0 |
| | |||||
* | Extracted block moving code into a seperate method | bibo38 | 2015-11-07 | 1 | -0/+4 |
| | |||||
* | Replaced the usage of pistonMeta with a direction vector to allow better meta value abstraction | bibo38 | 2015-11-07 | 1 | -1/+3 |
| | |||||
* | Added the CanPushBlock method for the piston push check. | bibo38 | 2015-11-07 | 1 | -2/+7 |
| | | | | This allows the recursive check for blocks to push, which is needed to implement the slime blocks into the piston system. | ||||
* | Unified the doxy-comment format. | Mattes D | 2015-07-31 | 1 | -5/+5 |
| | |||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -0/+6 |
| | |||||
* | More style checking. | Mattes D | 2015-05-09 | 1 | -1/+1 |
| | | | | Spaces around some operators are checked. | ||||
* | Removed Metavalue from Piston drops. Bugfix #1765 | bibo38 | 2015-03-20 | 1 | -0/+2 |
| | |||||
* | Added Daylight Sensors to the "can't push" list | Masy98 | 2014-10-01 | 1 | -0/+2 |
| | |||||
* | Added missing 1.8 blocks, E_METAs and sounds | Masy98 | 2014-10-01 | 1 | -0/+2 |
| | |||||
* | Merge branch 'master' into blocks | Masy98 | 2014-09-26 | 1 | -1/+1 |
|\ | | | | | | | | | | | Conflicts: src/Items/ItemHandler.cpp src/Simulator/IncrementalRedstoneSimulator.cpp | ||||
| * | Added first test to show the object can be created | Tycho | 2014-09-17 | 1 | -1/+1 |
| | | |||||
* | | Added barrier block | Masy98 | 2014-09-11 | 1 | -0/+1 |
|/ | |||||
* | Added beacon. | Howaner | 2014-07-30 | 1 | -0/+1 |
| | |||||
* | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -2/+2 |
| | |||||
* | Normalized comments. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | | | | | 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. | ||||
* | Added various missing blocks in the lists in BlockInfo.cpp | Masy98 | 2014-07-15 | 1 | -1/+0 |
| | |||||
* | Suggestions | Tiger Wang | 2014-07-11 | 1 | -1/+1 |
| | |||||
* | Implemented trapped chests & others | Tiger Wang | 2014-07-07 | 1 | -15/+3 |
| | | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes | ||||
* | Suggestions | Tiger Wang | 2014-05-29 | 1 | -1/+6 |
| | |||||
* | Hopefully fixed piston duplication issues | Tiger Wang | 2014-05-25 | 1 | -1/+128 |
| | | | | | * Fixes #879 * Fixes #714 | ||||
* | Improved Type safety of eBlockFace | Tycho | 2014-02-04 | 1 | -1/+1 |
| | | | | May Fix #640 | ||||
* | Changed Signiture of OnDestroyedByPlayer | Tycho | 2014-02-01 | 1 | -1/+1 |
| | |||||
* | Changed pointers to references | Tycho | 2014-02-01 | 1 | -2/+2 |
| | |||||
* | Changed signitures of Several BLockHandler Methods | Tycho | 2014-02-01 | 1 | -2/+2 |
| | | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | ||||
* | Fixed some new 1.7 client crash bugs | Tiger Wang | 2013-12-07 | 1 | -0/+6 |
| | | | | | Some technical blocks were removed; trying to render them as items caused a crash. | ||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+43 |