Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Vector3 in Handlers (#4680) | Mattes D | 2020-04-21 | 1 | -0/+6 |
| | | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3. | ||||
* | More Vector3 in cBlockHandler (#4644) | Mattes D | 2020-04-17 | 1 | -0/+4 |
| | | | | | * cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works. | ||||
* | Refactored block-to-pickup conversion. (#4417) | Mattes D | 2019-10-16 | 1 | -1/+1 |
| | |||||
* | Force all headers other than "Globals.h" to be included with relative paths (#4269) | peterbell10 | 2018-08-29 | 1 | -1/+2 |
| | | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work. | ||||
* | Experience orb (#4259) | changyong guo | 2018-08-02 | 1 | -0/+4 |
| | | | | | | | * 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 | ||||
* | improve rain simulation (#4017) | Alexander Harkness | 2017-12-26 | 1 | -1/+1 |
| | | | | | | | | | | | * 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. | ||||
* | Removed UTF-8 BOM (#4033) | Lukas Pioch | 2017-09-19 | 1 | -1/+1 |
| | |||||
* | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 2017-09-11 | 1 | -10/+13 |
| | |||||
* | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 2017-09-02 | 1 | -13/+10 |
| | | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | ||||
* | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 2017-09-01 | 1 | -10/+13 |
| | |||||
* | Bed piston fix (#3956) | Lane Kolbly | 2017-08-25 | 1 | -0/+2 |
| | | | | | | | | | | | | * Threaded world interface into ConvertBlockToPickups * Changed how cBlockPiston::PushBlocks sets the old block to air, so that the block exists for the DropBlock call. * Removed unused a_Digger argument. * Removed incorrect comment * This time actually removed a_Digger references. | ||||
* | Fully implemented leashes (#3798) | Pablo Beltrán | 2017-08-21 | 1 | -0/+5 |
| | |||||
* | Changed int parameters to vector parameters in cCuboid and simulators (#3874) | Lane Kolbly | 2017-08-17 | 1 | -1/+1 |
| | |||||
* | Replaced includes with forward declarations | Lukas Pioch | 2017-08-13 | 1 | -3/+5 |
| | |||||
* | Removed unused forward declarations (#3888) | Lukas Pioch | 2017-08-03 | 1 | -1/+0 |
| | |||||
* | cWorld::SendBlockTo take player by ref | peterbell10 | 2017-08-01 | 1 | -1/+1 |
| | |||||
* | Changing pickup lifetime and combining semantics, making these adjustable in the lua api. (#3843) | Lane Kolbly | 2017-07-12 | 1 | -0/+2 |
| | |||||
* | Bulk clearing of whitespace | LogicParrot | 2016-02-05 | 1 | -7/+7 |
| | |||||
* | Spawn baby mobs | hallucino | 2015-07-16 | 1 | -1/+1 |
| | |||||
* | Added a size check for portals. | STRWarrior | 2015-06-28 | 1 | -0/+12 |
| | | | | | | Made the portal size configurable Alpha-sorted SetXYZNetherPortalXYZ functions | ||||
* | Changed cEntity::m_UniqueID to UInt32. | Mattes D | 2015-03-21 | 1 | -5/+7 |
| | |||||
* | Merge branch 'master' into redstoneTests | Tycho | 2014-09-17 | 1 | -0/+3 |
|\ | | | | | | | | | Conflicts: src/Blocks/ChunkInterface.h | ||||
| * | Spawn exp if you break a mob spawner. | Howaner | 2014-09-12 | 1 | -0/+3 |
| | | |||||
* | | Added first test to show the object can be created | Tycho | 2014-09-17 | 1 | -3/+4 |
|/ | |||||
* | TimeOfDay does not need to be an Int64 | Tycho | 2014-09-08 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' into portals | Tiger Wang | 2014-07-18 | 1 | -1/+5 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Blocks/WorldInterface.h src/ClientHandle.cpp src/ClientHandle.h src/Entities/Player.cpp src/Entities/Player.h src/Generating/FinishGen.cpp src/Protocol/Protocol.h src/Protocol/Protocol125.cpp src/Protocol/Protocol125.h src/Protocol/Protocol16x.cpp src/Protocol/Protocol16x.h src/Protocol/Protocol17x.cpp src/Protocol/Protocol17x.h src/Protocol/ProtocolRecognizer.cpp src/Protocol/ProtocolRecognizer.h src/Root.h src/World.cpp | ||||
| * | Basic style fixes. | madmaxoft | 2014-07-17 | 1 | -1/+1 |
| | | |||||
| * | Redstone simulator is alerted to lever unpowering | Tiger Wang | 2014-07-02 | 1 | -0/+3 |
| | | | | | | | | | | * Fixed the "fix" that broke the fix for #535, thereby fixing said issue * Fixed #535 | ||||
* | | Merge branch 'master' into portals | Tiger Wang | 2014-06-21 | 1 | -0/+9 |
|\| | | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Entity.h src/Entities/Player.h | ||||
| * | Add DoWithBlockEntityAt() to WorldInterface.h | Howaner | 2014-06-17 | 1 | -0/+9 |
| | | |||||
* | | Cauldrons check the heightmap | Tiger Wang | 2014-06-14 | 1 | -4/+4 |
| | | |||||
* | | Suggestions | Tiger Wang | 2014-06-05 | 1 | -1/+3 |
| | | |||||
* | | Cauldrons fill | Tiger Wang | 2014-05-29 | 1 | -0/+3 |
|/ | |||||
* | Fixed non-virtual destructors warnings. | madmaxoft | 2014-03-28 | 1 | -1/+2 |
| | |||||
* | Beds now work properly fixes #707 | Tiger Wang | 2014-03-09 | 1 | -1/+7 |
| | | | | | | | | Also fixes FS392 Conflicts: src/Blocks/WorldInterface.h src/ClientHandle.cpp | ||||
* | Fix comment | Howaner | 2014-03-06 | 1 | -1/+1 |
| | |||||
* | Add SendBlockTo to cWorldInterface | Howaner | 2014-03-05 | 1 | -0/+3 |
| | |||||
* | Changed Signiture of OnDestroyedByPlayer | Tycho | 2014-02-01 | 1 | -0/+3 |
| | |||||
* | Changed pointers to references | Tycho | 2014-02-01 | 1 | -1/+1 |
| | |||||
* | Changed signitures of Several BLockHandler Methods | Tycho | 2014-02-01 | 1 | -0/+2 |
| | | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check | ||||
* | Refactored cBlockHandler::OnUse and dependents | Tycho | 2014-01-26 | 1 | -3/+15 |
| | |||||
* | First attempt at Implementing Interfaces | Tycho | 2014-01-25 | 1 | -0/+13 |