summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockFluid.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* BlockHandler initialisation is a constant expression (#4891)Tiger Wang2020-09-201-22/+11
| | | | | | | | | | | | | * 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 sequencesTiger Wang2020-08-041-26/+0
| | | | | | | * 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
* More Vector3 in cBlockHandler (#4644)Mattes D2020-04-171-18/+39
| | | | | * cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works.
* Using Super.Mattes D2020-04-161-9/+11
|
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-5/+26
|
* BigFlower fixes (#3826)peterbell102017-07-071-1/+1
| | | | | | | * BigFlowers fixes * Correct upper part meta * Documented parameters to DoesIgnoreBuildCollision
* Added some blocks and items (#3503)mathiascode2017-02-141-0/+1
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-8/+8
|
* * Logic for handling plant growth has been centralized into cBlockPlant, and all growable plants now inherit from it.Samuel Barney2015-08-191-0/+16
| | | | * Blocks now have an effect upon plant growth, just like in vanilla.
* Improved mapsTiger Wang2015-07-141-7/+19
|
* Rebased version of CodeSamuel Barney2015-06-221-6/+0
|
* Correct world height validations.Tommy Santerre2015-03-201-2/+2
| | | | | 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
* Basic style fixes.madmaxoft2014-07-171-1/+1
|
* Superfluous method override.Howaner2014-05-071-6/+0
|
* Add lava and water check to block handlers.Howaner2014-05-071-0/+12
|
* With eXtra line!Tiger Wang2014-04-021-0/+1
|
* Removed extra bracketsTiger Wang2014-04-021-5/+2
|
* Realised suggestionsTiger Wang2014-03-311-1/+4
|
* Fixed a few Y too high/low assertsTiger Wang2014-03-311-2/+3
|
* Changed Signiture of OnUpdateTycho2014-02-021-3/+3
|
* Changed pointers to referencesTycho2014-02-011-1/+1
|
* Changed signitures of Several BLockHandler MethodsTycho2014-02-011-2/+2
| | | | | | | | | | | | | Changed the signitures of the following to use interfaces: GetPlacementBlockTypeMeta OnPlaced OnPlacedByPlayer OnDestroyed OnNeighbourChanged NeighbourChanged OnUse CanBeAt Check
* Lava can spawn fire.madmaxoft2013-12-041-0/+81
| | | | Settable in world.ini, lava can spawn fire to fuel blocks near it. Fix #65.
* Moved source to srcAlexander Harkness2013-11-241-0/+56