Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert most calls to blocking GetHeight/GetBiomeAt to direct chunk accesses | Tiger Wang | 2021-01-11 | 1 | -7/+0 |
| | | | | * Hopefully fixes #5094 | ||||
* | Fixing Mob spawner behaviour (#4930) | 12xx12 | 2020-09-27 | 1 | -102/+115 |
| | | | | | | | | | | | | | | | | | | | * fixed mob spawner failure (whoopsie in the BlockEntity.GetChunkZ()) Style * fixed spawning behaviour * fixed saving entity type saving * checkstyle * removed debug log * removed short saving * Style Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com> | ||||
* | Implement wither skeletons (#4563) | Mat | 2020-04-04 | 1 | -1/+18 |
| | |||||
* | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 2020-04-03 | 1 | -0/+1 |
| | | | | | | | | | 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 | ||||
* | Reduce ghast spawn rate again | Mat | 2020-03-27 | 1 | -1/+1 |
| | |||||
* | Reduce ghast spawn rate | Mat | 2020-03-27 | 1 | -1/+1 |
| | |||||
* | Improvements to blaze and ghast (#4547) | Mat | 2020-03-26 | 1 | -1/+9 |
| | |||||
* | Fix nether mob spawning (#4546) | Mat | 2020-03-25 | 1 | -80/+93 |
| | | | | | * Fix nether mob spawning * Remove zombie from nether mobs | ||||
* | Moved growing from cWorld / cChunk to cBlockHandler descendants. | Mattes D | 2019-10-28 | 1 | -77/+76 |
| | |||||
* | Experience orb (#4259) | changyong guo | 2018-08-02 | 1 | -2/+8 |
| | | | | | | | * Replace cWorld::FindClosesPlayer with cWorld::DoWithClosestPlayer * Implement experience reward splitting into the orb sizes used in vanilla * Modified speed calculation in cExpOrb::Tick to make the orbs fly towards the player Fixes #4216 | ||||
* | Removed duplicate code (#4198) | Bond-009 | 2018-04-11 | 1 | -63/+148 |
| | | | Should also fix dogs not despawning | ||||
* | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 2017-09-11 | 1 | -10/+1 |
| | |||||
* | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 2017-09-02 | 1 | -1/+10 |
| | | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | ||||
* | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 2017-09-01 | 1 | -10/+1 |
| | |||||
* | Changed entity ownership model to use smart pointers | Tiger Wang | 2017-08-07 | 1 | -6/+7 |
| | |||||
* | FastRandom: Remove discrepancy between arg and return value type. (#3846) | Mattes D | 2017-07-21 | 1 | -9/+5 |
| | |||||
* | Remove sign conversion | peterbell10 | 2017-06-16 | 1 | -1/+2 |
| | |||||
* | FastRandom rewrite (#3754) | peterbell10 | 2017-06-13 | 1 | -10/+6 |
| | |||||
* | Mobs no longer spawn at the top of the nether. | tonibm19 | 2016-03-01 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | I don't really know if this is the right place for the check, but it works. Add bedrock check fix typo Using code provided by NiLSpace and fixed a horse's bug -Horses can no longer be "controlled" if they're not tamed and saddled removed unrelated horse code Fixed mobs spawning above bedrock | ||||
* | Fixed non-natural spawning near player (egg, breeding, etc.) | LogicParrot | 2016-01-16 | 1 | -174/+184 |
| | |||||
* | Added cave spider to MobSpawner | Lukas Pioch | 2015-10-29 | 1 | -0/+11 |
| | |||||
* | Made -Weverything an error. | tycho | 2015-05-24 | 1 | -1/+1 |
| | |||||
* | CheckBasicStyle: checks spaces around * and &. | Mattes D | 2015-05-09 | 1 | -2/+2 |
| | |||||
* | Correct world height validations. | Tommy Santerre | 2015-03-20 | 1 | -1/+1 |
| | | | | | Unify the way we test block above the current one (Height - 1 instead of a_RelY + 1). Allow generation of world of flat height = 255 | ||||
* | Fixed grass spread, closes #1743 | Tiger Wang | 2015-03-14 | 1 | -5/+4 |
| | | | | | - Removed the salt parameter in cFastRandom functions, it wasn't doing what we thought it was following the move to C++11 | ||||
* | Fixed monster spawn randomness. | Mattes D | 2015-02-20 | 1 | -1/+2 |
| | | | | Fixes #1699. | ||||
* | Added Rabbits | Masy98 | 2014-12-20 | 1 | -0/+2 |
| | |||||
* | Added Entity Guardian | Masy98 | 2014-12-18 | 1 | -0/+6 |
| | |||||
* | Fixed reported parentheses around comparisons. | Mattes D | 2014-12-05 | 1 | -4/+4 |
| | |||||
* | updated mooshroom check for mycelium | p-mcgowan | 2014-12-02 | 1 | -1/+1 |
| | |||||
* | extra formatting parentheses | p-mcgowan | 2014-12-02 | 1 | -2/+2 |
| | |||||
* | added spawning rule to mooshroom | p-mcgowan | 2014-12-02 | 1 | -0/+13 |
| | |||||
* | Merge branch 'master' into MobSpawner | Howaner | 2014-11-18 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: MCServer/Plugins/Core | ||||
| * | En masse NULL -> nullptr replace | Tiger Wang | 2014-10-23 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into MobSpawner | Howaner | 2014-09-26 | 1 | -50/+50 |
|\| | | | | | | | | | | | Conflicts: src/MobSpawner.h src/Mobs/Monster.h | ||||
| * | Added first test to show the object can be created | Tycho | 2014-09-17 | 1 | -50/+50 |
| | | |||||
* | | Implemented mob spawner. | Howaner | 2014-09-19 | 1 | -6/+7 |
|/ | |||||
* | Merge remote-tracking branch 'origin/master' into portals | Tiger Wang | 2014-07-22 | 1 | -3/+3 |
|\ | | | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Player.cpp src/Root.cpp src/World.cpp | ||||
| * | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 2014-07-21 | 1 | -1/+1 |
| | | |||||
| * | Style: Normalized spaces after if, for and while. | madmaxoft | 2014-07-21 | 1 | -1/+1 |
| | | |||||
| * | Fixed style: spaces after commas. | madmaxoft | 2014-07-19 | 1 | -1/+1 |
| | | |||||
* | | Bug and crash fixes | Tiger Wang | 2014-07-20 | 1 | -1/+2 |
|/ | | | | | | | | | * 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 | ||||
* | Fixed basic whitespace problems. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | | | | Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines. | ||||
* | Fixed MSVC 64-bit build warnings. | Mattes D | 2014-05-09 | 1 | -3/+3 |
| | |||||
* | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 2014-04-18 | 1 | -2/+2 |
| | |||||
* | Realised suggestions | Tiger Wang | 2014-03-31 | 1 | -5/+8 |
| | |||||
* | Fixed a few Y too high/low asserts | Tiger Wang | 2014-03-31 | 1 | -5/+7 |
| | |||||
* | Add new leaves to all classes. | Howaner | 2014-03-16 | 1 | -1/+1 |
| | |||||
* | g_BlockXXX => cBlockInfo::XXX | andrew | 2014-03-01 | 1 | -7/+7 |
| | |||||
* | Fixed compile and some warnings in MSVS | Tiger Wang | 2014-02-09 | 1 | -1/+1 |
| | |||||
* | Moved source to src | Alexander Harkness | 2013-11-24 | 1 | -0/+361 |