summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockOre.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-09-23Limit fortune level, style fixesTiger Wang1-12/+15
2020-09-20Implement fortune for ores, glowstone and sea lanterns (#4897)KingCol131-12/+11
* 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.
2020-09-20BlockHandler initialisation is a constant expression (#4891)Tiger Wang1-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>
2020-09-19Fix silk-touching glowing redstone (#4893)KingCol131-1/+6
* Add src/BlocksRedstoneOre.h to CMakeLists.txt * Fixed silk touch pickaxe not dropping redstone ore (and dropping null item instead)
2020-04-16Using Super.Mattes D1-4/+5
2019-10-16Refactored block-to-pickup conversion. (#4417)Mattes D1-54/+41
2018-08-02Experience orb (#4259)changyong guo1-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
2017-08-06Removed unneeded includes (#3902)Lukas Pioch1-1/+0
2017-08-01cBlockHandler: take player by refpeterbell101-3/+3
2017-06-13FastRandom rewrite (#3754)peterbell101-8/+8
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-2/+2
2015-04-23Digging up a clay block spawns 4 clay items.jammet1-0/+5
Fixes #1884. Closes #1891.
2015-04-23Nether Quartz is handled in the Ore handler.jammet1-0/+5
Fixes #1885, Closes #1888
2015-02-28Added experience drops when mining oresSTRWarrior1-0/+59
2014-09-12Fixed iron ore drop.Howaner1-1/+2
2014-08-19Code formatting fixes.Howaner1-29/+11
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-80/+80
2012-11-26Fixed certain blocks crashing clients when minedluksor111@gmail.com1-1/+1
Fixed rail duplication glitch Fixed fall damage calculation Glass no longer drops glass git-svn-id: http://mc-server.googlecode.com/svn/trunk@1068 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-03Moved blockticking into blockhandler classes.madmaxoft@gmail.com1-4/+4
Also slightly refactored the variable / argument names (BlockID is deprecated, use BlockType instead) git-svn-id: http://mc-server.googlecode.com/svn/trunk@921 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-01Slight refactoring of BlockHandlers - dropping unneeded virtual functionsmadmaxoft@gmail.com1-37/+59
( http://forum.mc-server.org/showthread.php?tid=434&pid=4734#pid4734 ) git-svn-id: http://mc-server.googlecode.com/svn/trunk@917 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29Unified folder name-casingmadmaxoft@gmail.com1-0/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-2/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-06BLOCKTYPE signedness change - fixed more detailsmadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@713 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-28Fixed a few gcc warningsmadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@701 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16Some code improvementslapayo94@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16Fixed some small bugs :)lapayo94@gmail.com1-0/+58
git-svn-id: http://mc-server.googlecode.com/svn/trunk@672 0a769ca7-a7f5-676a-18bf-c427514a06d6