summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockMobSpawner.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* added check if the digger is a nullptr (#4981)12xx122020-10-091-0/+4
| | | Co-authored-by: 12xx12 <12xx12100@gmail.com>
* Merged OnBreak with OnPlayerBreak (#4967)12xx122020-10-081-8/+14
| | | | Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Fix cmake not adding Werror on clang, and _lots_ of warnings (#4963)peterbell102020-10-051-1/+1
| | | | | | | | | | | | | | | * Fix cmake not adding Werror on clang, and _lots_ of warnings * WIP: Build fixes * Cannot make intermediate blockhandler instance * Tiger's changes * Fix BitIndex check * Handle invalid NextState values in cMultiVersionProtocol Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
* Unify block entity pickup conversionTiger Wang2020-09-251-1/+1
| | | | | - Removed normal BlockHandler knowledge of block entities during conversion + Added cBlockEntity::ConvertToPickups that handles it
* BlockHandler initialisation is a constant expression (#4891)Tiger Wang2020-09-201-11/+6
| | | | | | | | | | | | | * 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>
* Vector3 in Handlers (#4680)Mattes D2020-04-211-5/+21
| | | Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-7/+19
|
* Experience orb (#4259)changyong guo2018-08-021-1/+1
| | | | | | | * 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 unneeded includes (#3902)Lukas Pioch2017-08-061-1/+0
|
* cBlockHandler: take player by refpeterbell102017-08-011-5/+5
|
* FastRandom rewrite (#3754)peterbell102017-06-131-2/+2
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-2/+2
|
* allow use failures to propagate from the entity/block to the playerGargaj2015-12-131-2/+2
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-1/+1
|
* Implemented mob spawner.Howaner2014-09-191-0/+12
|
* Spawn exp if you break a mob spawner.Howaner2014-09-121-0/+40