Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed leaves and wheat not breakable with piston (#4882) | Elias Thomson | 2020-09-17 | 1 | -1/+4 |
| | | | | | | | | | * Fixed leaves and wheat not breakable with piston * Fixed alpha-sort * Add beetroots Co-authored-by: Elias Thomson <fiv.pids@gmail.com> | ||||
* | BlockHandler: no dynamic allocation (#4862) | Tiger Wang | 2020-09-17 | 1 | -11/+9 |
| | | | * BlockHandler: no dynamic allocation | ||||
* | Fixed doors not breakable by piston (#4869) | Elias Thomson | 2020-09-15 | 1 | -0/+5 |
| | | | Co-authored-by: Elias Thomson <dev@eliasthomson.com> | ||||
* | Use tracing for explosions (#4845) | Tiger Wang | 2020-09-12 | 1 | -0/+121 |
| | | | | | | | | | | | | | | | | | | | | | | | | * TNT: Implement tracing algorithm + Add intensity tracing * Fix iterating over all players to SendExplosion, even those not in range * Implemented TNT entity interaction * Fixed misaligned destruction tracing * Finalise TNT algorithm - Remove BlockArea and just use chunks Using SetBlock makes it so that we can update everything properly, and does appear to be faster. * BlockInfo learns about explosion attentuation * Rename Explodinator parameters * TNT: pull block destruction into common function Co-authored-by: Alexander Harkness <me@bearbin.net> | ||||
* | Change stained clay hardness value | Alexander Harkness | 2020-04-10 | 1 | -1/+1 |
| | |||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 1 | -1/+432 |
| | | | | | | | | | The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values | ||||
* | Fix Snow Spawn on Cobblestone Slab (#4564) | Xenoxis | 2020-03-28 | 1 | -0/+1 |
| | |||||
* | Correct block transparencies | Peter Bell | 2019-12-05 | 1 | -0/+5 |
| | |||||
* | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 2018-07-26 | 1 | -0/+3 |
| | | | | Add check for number of empty lines between functions and fix the corresponding failures | ||||
* | Update m_IsSolid assignments in BlockInfo (#4167) | Alexander Harkness | 2018-06-24 | 1 | -0/+7 |
| | | | Fixes #4166 | ||||
* | * Block Info: glazed terracotta and concrete hardness/solid voxel status (#4205) | Zach DeCook | 2018-04-02 | 1 | -0/+35 |
| | |||||
* | Removed cBlockInfo.m_IsSnowable (#4105) | Bond-009 | 2018-01-23 | 1 | -85/+3 |
| | | | | | | * Removed cBlockInfo.m_IsSnowable * Return IsSnowable from deprecated variable binding m_IsSnowable. | ||||
* | improve rain simulation (#4017) | Alexander Harkness | 2017-12-26 | 1 | -7/+18 |
| | | | | | | | | | | | * Uses vanilla logic to decide which blocks rain falls through. * Rain falls infinitely above the world, and stops at y=0. * Entities will now be extinguished if they are under rain-blocking blocks, and fire will now be extinguished by rain similarly. * Create IsWeatherWetAtXYZ to identify wetness at a particular location. * Use new code for enderman rain detection. * Fixes issue #916 * Disable warnings for global constructors in the fire simulator. | ||||
* | Lighting now generally consistent with vanilla (#3988) | Alexander Harkness | 2017-09-07 | 1 | -12/+57 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Lighting now generally consistent with vanilla Skylight is now dispersed by some blocks, instead of passing through unimpeded. Some blocks which were not marked as transparent are now marked as such. Water and other such blocks now attenuate light with the correct intensity. Generally changes were based on documentation in the Minecraft Wiki: https://minecraft.gamepedia.com/Opacity#On_block_light , however during play-testing on vanilla lava was found not to attenuate sky or block-light so the attenuation was removed. This fixes #3849 * Add API documentation for IsSkylightDispersant * Rename m_SkylightDispersant to m_IsSkylightDispersant * Update comment for m_Transparent property of Blocks | ||||
* | Remove double includes part 2 (#3890) | peterbell10 | 2017-08-03 | 1 | -1/+0 |
| | |||||
* | cBlockInfo static initialisation (#3832) | peterbell10 | 2017-07-03 | 1 | -883/+881 |
| | |||||
* | Added blocks that can be washed away by water (#3637) | Bond-009 | 2017-03-21 | 1 | -0/+1 |
| | |||||
* | Allow mobs to walk through dead_bush (#3623) | willi123yao | 2017-03-16 | 1 | -0/+1 |
| | | | Fixes #3618. | ||||
* | Updated sounds and effect IDs (#3422) | mathiascode | 2017-02-15 | 1 | -191/+0 |
| | |||||
* | Added some blocks and items (#3503) | mathiascode | 2017-02-14 | 1 | -1/+121 |
| | |||||
* | Anticheat fastbreak (#3411) | mohe2015 | 2016-11-06 | 1 | -0/+199 |
| | | | Added block hardness checks when breaking blocks. | ||||
* | Spectators added (#2852) | bibo38 | 2016-10-12 | 1 | -0/+9 |
| | |||||
* | Updated cChunk::SetMeta, fixed grass growth, reduced markDirty/setMeta usage | LogicParrot | 2016-04-16 | 1 | -1/+0 |
| | |||||
* | blockheight mechanism | Gargaj | 2015-12-13 | 1 | -0/+21 |
| | |||||
* | Implemented the slime block dropping behaviour. | bibo38 | 2015-11-07 | 1 | -0/+1 |
| | | | | Fixes #2530 | ||||
* | Improved maps | Tiger Wang | 2015-07-14 | 1 | -13/+13 |
| | |||||
* | Farmland is now listed as an opaque block. | Samuel Barney | 2015-07-03 | 1 | -2/+1 |
| | | | | Changed spread light falloff for farmland to what it was originally. | ||||
* | Rebased version of Code | Samuel Barney | 2015-06-22 | 1 | -1/+1 |
| | |||||
* | Made -Weverything an error. | tycho | 2015-05-24 | 1 | -1/+1 |
| | |||||
* | Fixes | Howaner | 2014-12-13 | 1 | -2/+0 |
| | |||||
* | Added cocoa pod. | Howaner | 2014-12-01 | 1 | -0/+1 |
| | |||||
* | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -2/+2 |
| | |||||
* | Merge pull request #1489 from mc-server/fixes | Mattes D | 2014-10-04 | 1 | -0/+1 |
|\ | | | | | Improved torch handler | ||||
| * | Improved torch handler | Tiger Wang | 2014-09-30 | 1 | -0/+1 |
| | | |||||
* | | Added missing 1.8 blocks, E_METAs and sounds | Masy98 | 2014-10-01 | 1 | -1/+10 |
| | | |||||
* | | Fixed iron trapdoors | Howaner | 2014-09-30 | 1 | -0/+1 |
|/ | |||||
* | Fixed minor style issues. | madmaxoft | 2014-09-27 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into blocks | Masy98 | 2014-09-26 | 1 | -55/+13 |
|\ | | | | | | | | | | | Conflicts: src/Items/ItemHandler.cpp src/Simulator/IncrementalRedstoneSimulator.cpp | ||||
| * | Merge branch 'master' into redstoneTests | Tycho | 2014-09-17 | 1 | -13/+13 |
| |\ | | | | | | | | | | | | | Conflicts: src/Blocks/ChunkInterface.h | ||||
| | * | Fixed block place sounds. | Howaner | 2014-09-12 | 1 | -13/+13 |
| | | | |||||
| * | | Added first test to show the object can be created | Tycho | 2014-09-17 | 1 | -42/+0 |
| |/ | |||||
* | | Added barrier block | Masy98 | 2014-09-11 | 1 | -1/+5 |
| | | |||||
* | | Fixed typo | Masy98 | 2014-09-10 | 1 | -1/+1 |
| | | |||||
* | | Added new blocks to the BlockInfo | Masy98 | 2014-09-10 | 1 | -0/+63 |
|/ | |||||
* | Moved sound-configs into BlockID.h and fixed/ added loads of sounds | Masy98 | 2014-09-09 | 1 | -0/+167 |
| | |||||
* | Fixed nether wart digging. | Howaner | 2014-08-07 | 1 | -0/+1 |
| | | | Fixes #1265 | ||||
* | Added soulsand to the terraformed list. | STRWarrior | 2014-07-29 | 1 | -0/+1 |
| | |||||
* | Added cBlockInfo::CanBeTerraformed and made finishers use it | STRWarrior | 2014-07-29 | 1 | -0/+21 |
| | | | | I might have forgotten some of them though | ||||
* | Merge branch 'master' into portals | Tiger Wang | 2014-07-29 | 1 | -46/+0 |
|\ | | | | | | | | | Conflicts: src/World.h | ||||
| * | Merge branch 'master' into saplingsandleaves | Tiger Wang | 2014-07-20 | 1 | -4/+0 |
| |\ | | | | | | | | | | | | | | | | Conflicts: src/Bindings/DeprecatedBindings.cpp src/Blocks/BlockSapling.h | ||||
| * | | Fixed issues relating to saplings and leaves | Tiger Wang | 2014-07-17 | 1 | -46/+0 |
| | | | | | | | | | | | | | | | | | | - Removed cBlockInfo::RequiresSpecialTool * Fixes #1195 * Fixes #1201 | ||||
* | | | Bug and crash fixes | Tiger Wang | 2014-07-20 | 1 | -0/+1 |
| |/ |/| | | | | | | | | | | | | | | | * Fixes end portals' solidity * Fixed crashes to do with multithreading and removing an entity from the wrong world * Fixed crashes due to bad merge * Fixed crashes due to an object being deleted twice * Simplified cWorld::Start() and added comments to configuration files | ||||
* | | Monster fixes | Tiger Wang | 2014-07-18 | 1 | -4/+0 |
|/ | | | | | * Fixes #1203 * Fixes #627 | ||||
* | Removed Stairs and carpet from the "isSolid" list to prevent mobs falling through them. | Masy98 | 2014-07-15 | 1 | -1/+0 |
| | |||||
* | Removed Stairs and carpet from the "isSolid" list to prevent mobs falling through them. | Masy98 | 2014-07-15 | 1 | -12/+0 |
| | |||||
* | Added Brick fence to m_Transparent | Masy98 | 2014-07-15 | 1 | -0/+1 |
| | |||||
* | Added various missing blocks in the lists in BlockInfo.cpp | Masy98 | 2014-07-15 | 1 | -63/+214 |
| | |||||
* | Merge pull request #1154 from mc-server/trappedchests | Tiger Wang | 2014-07-13 | 1 | -0/+3 |
|\ | | | | | Implemented trapped chests & others | ||||
| * | Implemented trapped chests & others | Tiger Wang | 2014-07-07 | 1 | -0/+3 |
| | | | | | | | | | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes | ||||
* | | Fixed arrow collection animation | Tiger Wang | 2014-07-09 | 1 | -1/+0 |
|/ | | | | * Fixed piston extension non-solidness | ||||
* | Implemented tripwire(s) (hooks) | Tiger Wang | 2014-06-28 | 1 | -0/+9 |
| | | | | * Fixes #944 | ||||
* | BlockInfo is now a proper C++ singleton. | madmaxoft | 2014-06-25 | 1 | -367/+365 |
| | | | | It is properly initialized before it is ever used. | ||||
* | Fixed BlockInfo initialization. | madmaxoft | 2014-06-24 | 1 | -15/+6 |
| | | | | Now cBlockInfo is initialized in the getter, instead of "at any time during startup", which included "after it was already needed". | ||||
* | Nullify deleted pointers. | archshift | 2014-06-19 | 1 | -0/+1 |
| | |||||
* | Add pressure plate handler | Howaner | 2014-06-17 | 1 | -0/+2 |
| | |||||
* | Merge branch 'master' into Slabs | Howaner | 2014-05-07 | 1 | -0/+1 |
|\ | |||||
| * | Ladders set as transparent. | madmaxoft | 2014-04-30 | 1 | -0/+1 |
| | | |||||
* | | Add CanChangeDirtToGrass function to Block Handlers. | Howaner | 2014-04-06 | 1 | -0/+10 |
|/ | |||||
* | Some fixes to lilypads | Tiger Wang | 2014-03-28 | 1 | -1/+2 |
| | | | | | | | | * Fixed placement on lava * Fixed placement on side of blocks * Fixed placement through blocks + Added washing-away of pads + Added ice as a block that fully occupies its voxel | ||||
* | Add new leaves to all classes. | Howaner | 2014-03-16 | 1 | -0/+1 |
| | |||||
* | Fixed issues with int vs size_t and a few other warnings | Tycho | 2014-03-08 | 1 | -2/+0 |
| | |||||
* | cBlockInfo-related changes from #723 | andrew | 2014-03-08 | 1 | -0/+9 |
| | |||||
* | Removed if condition | andrew | 2014-03-02 | 1 | -4/+1 |
| | |||||
* | cBlockInfo now manages the respective cBlockHandler | andrew | 2014-03-02 | 1 | -0/+22 |
| | |||||
* | GetById => Get | andrew | 2014-03-02 | 1 | -3/+3 |
| | |||||
* | g_BlockXXX => cBlockInfo::XXX | andrew | 2014-03-01 | 1 | -5/+5 |
| | |||||
* | Refactored global block property arrays | andrew | 2014-03-01 | 1 | -0/+423 |