summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockGlowstone.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Fortune Drops (#4932)KingCol132020-09-281-7/+3
| | | | | | | + Implemented and standardized all clamped discrete random drops. + Changed cItems Add from push_back to emplace_back. Implement fortune for crops. + Enabled hoes to be enchanted with efficiency, silk touch and fortune. Made leaves, gravel and crops affected by fortune. 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
* Limit fortune level, style fixesTiger Wang2020-09-231-7/+9
|
* Implement fortune for ores, glowstone and sea lanterns (#4897)KingCol132020-09-201-3/+4
| | | | | | | | | | | | | | | * Implemented fortune for ores, glowstone and sea lanterns (but nothing organic or flint). * Cleanup printf * Stopped playing golf, gave the Camels a FirstHump and moved the FortuneDropMult comment. Thanks for the review :). * Got rid of FortuneDropMult and replaced with Peter's massive optimization/simplification. * Fixed default lapis max droprate (8 -> 9). * Clamp max drops for non-redstone ores to 10. * Comment justifying the clamp.
* BlockHandler initialisation is a constant expression (#4891)Tiger Wang2020-09-201-8/+4
| | | | | | | | | | | | | * 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>
* Refactored block-to-pickup conversion. (#4417)Mattes D2019-10-161-3/+19
|
* FastRandom rewrite (#3754)peterbell102017-06-131-3/+1
|
* Silenced and fixed many warning messages across multiple files.Samuel Barney2015-07-291-1/+1
|
* Improved mapsTiger Wang2015-07-141-2/+8
|
* Code formatting fixes.Howaner2014-08-191-3/+3
|
* Fixed glowstone drop countandrew2014-01-111-2/+2
|
* Moved source to srcAlexander Harkness2013-11-241-0/+30