summaryrefslogtreecommitdiffstats
path: root/src/Blocks/WorldInterface.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* improve rain simulation (#4017)Alexander Harkness2017-12-261-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 Pioch2017-09-191-1/+1
|
* Replace ItemCallbacks with lambdas (#3993)peterbell102017-09-111-10/+13
|
* Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot2017-09-021-13/+10
| | | | This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
* Replace ItemCallbacks with lambdas (#3948)peterbell102017-09-011-10/+13
|
* Bed piston fix (#3956)Lane Kolbly2017-08-251-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án2017-08-211-0/+5
|
* Changed int parameters to vector parameters in cCuboid and simulators (#3874)Lane Kolbly2017-08-171-1/+1
|
* Replaced includes with forward declarationsLukas Pioch2017-08-131-3/+5
|
* Removed unused forward declarations (#3888)Lukas Pioch2017-08-031-1/+0
|
* cWorld::SendBlockTo take player by refpeterbell102017-08-011-1/+1
|
* Changing pickup lifetime and combining semantics, making these adjustable in the lua api. (#3843)Lane Kolbly2017-07-121-0/+2
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-7/+7
|
* Spawn baby mobshallucino2015-07-161-1/+1
|
* Added a size check for portals.STRWarrior2015-06-281-0/+12
| | | | | | Made the portal size configurable Alpha-sorted SetXYZNetherPortalXYZ functions
* Changed cEntity::m_UniqueID to UInt32.Mattes D2015-03-211-5/+7
|
* Merge branch 'master' into redstoneTestsTycho2014-09-171-0/+3
|\ | | | | | | | | Conflicts: src/Blocks/ChunkInterface.h
| * Spawn exp if you break a mob spawner.Howaner2014-09-121-0/+3
| |
* | Added first test to show the object can be createdTycho2014-09-171-3/+4
|/
* TimeOfDay does not need to be an Int64Tycho2014-09-081-2/+2
|
* Merge branch 'master' into portalsTiger Wang2014-07-181-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.madmaxoft2014-07-171-1/+1
| |
| * Redstone simulator is alerted to lever unpoweringTiger Wang2014-07-021-0/+3
| | | | | | | | | | * Fixed the "fix" that broke the fix for #535, thereby fixing said issue * Fixed #535
* | Merge branch 'master' into portalsTiger Wang2014-06-211-0/+9
|\| | | | | | | | | | | | | Conflicts: src/Chunk.cpp src/Entities/Entity.h src/Entities/Player.h
| * Add DoWithBlockEntityAt() to WorldInterface.hHowaner2014-06-171-0/+9
| |
* | Cauldrons check the heightmapTiger Wang2014-06-141-4/+4
| |
* | SuggestionsTiger Wang2014-06-051-1/+3
| |
* | Cauldrons fillTiger Wang2014-05-291-0/+3
|/
* Fixed non-virtual destructors warnings.madmaxoft2014-03-281-1/+2
|
* Beds now work properly fixes #707Tiger Wang2014-03-091-1/+7
| | | | | | | | Also fixes FS392 Conflicts: src/Blocks/WorldInterface.h src/ClientHandle.cpp
* Fix commentHowaner2014-03-061-1/+1
|
* Add SendBlockTo to cWorldInterfaceHowaner2014-03-051-0/+3
|
* Changed Signiture of OnDestroyedByPlayerTycho2014-02-011-0/+3
|
* Changed pointers to referencesTycho2014-02-011-1/+1
|
* Changed signitures of Several BLockHandler MethodsTycho2014-02-011-0/+2
| | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
* Refactored cBlockHandler::OnUse and dependentsTycho2014-01-261-3/+15
|
* First attempt at Implementing InterfacesTycho2014-01-251-0/+13