summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockHandler.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2020-04-17More Vector3 in cBlockHandler (#4644)Mattes D1-1/+7
2020-04-17Implement glowing redstone orePeter Bell1-187/+188
2020-04-11fixing rotation - rel. #4625GefaketHD1-1/+1
2020-04-10Replace all single-digit hex constants with two-digit versionAlexander Harkness1-1/+1
2020-04-10Remove silly empty cBlockGlazedTerracotta classAlexander Harkness1-1/+6
2020-04-10Add mixins for blocks that rotate based on player yaw at placementAlexander Harkness1-0/+2
2020-04-10Add Terracotta handlersAlexander Harkness1-0/+17
2020-04-10Correct Black Glazed Terracotta block handlerAlexander Harkness1-1/+1
2020-03-28Updated Bookshelves drop behaviour (#4567)Xenoxis1-0/+2
2020-03-28Fix Snow Spawn on Cobblestone Slab (#4564)Xenoxis1-1/+1
2020-03-23Jukebox improvements (#4537)Mat1-1/+2
2020-03-17Silk touch pickaxe drops grass block (#4485)Mat1-1/+2
2019-10-28Moved growing from cWorld / cChunk to cBlockHandler descendants.Mattes D1-20/+20
2019-10-16Refactored block-to-pickup conversion. (#4417)Mattes D1-156/+56
2019-08-05Register vanilla blocks in BlockTypeRegistry.Mattes D1-1/+711
2019-06-11* Sponge: Add water absorbtion (#4333)Zach DeCook1-0/+2
2019-05-11Create Ender Portal with Eyes of Ender (#4126)Zach DeCook1-0/+2
2018-08-23Fixes bed item 26 and 355 being spawned, only 355 spawns now (#4290)Rick van Schijndel1-0/+1
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell101-1/+1
2018-01-03Concrete mixing (#4096)Zach DeCook1-0/+2
2017-11-20cChunkInterface GetBlock, GetBlockMeta, GetBlockTypeMeta use vectors (#4050)Bond-0091-3/+3
2017-09-19Leaves now drop with the correct meta when broken by a pickaxe with silk touch (#4034)Bond-0091-0/+6
2017-08-31Drop enderchest when broken by a silk touck pick (#3986)Bond-0091-0/+6
2017-08-25Bed piston fix (#3956)Lane Kolbly1-2/+2
2017-08-17Changed int parameters to vector parameters in cCuboid and simulators (#3874)Lane Kolbly1-1/+1
2017-08-01cBlockHandler: take player by refpeterbell101-4/+4
2017-07-28Check for intersection between placed blocks and entities. (#3850)Lane Kolbly1-1/+22
2017-07-18Made cBlockHandler OnPlacedByPlayer call OnPlaced, made BlockRailHandler use NeighborChanged instead of OnNeighborChanged.Lane Kolbly1-0/+1
2017-07-07BigFlower fixes (#3826)peterbell101-1/+1
2017-07-07Added bed entity (#3823)Lukas Pioch1-1/+10
2017-06-13FastRandom rewrite (#3754)peterbell101-3/+3
2017-05-09BlockHandlers: vertical alignment.Mattes D1-159/+159
2017-05-09BlockCrops: Fixed RipeMeta off-by-one error properly.Mattes D1-4/+4
2017-03-19Deadbushes drop sticksBond-0091-0/+1
2017-02-14Added some blocks and items (#3503)mathiascode1-4/+14
2016-02-05Bulk clearing of whitespaceLogicParrot1-5/+5
2016-01-03More blocks that can't be mined with silktouchMathias1-1/+28
2015-12-13blockheight mechanismGargaj1-0/+10
2015-11-07Implemented the slime block dropping behaviour.bibo381-0/+2
2015-08-19* Logic for handling plant growth has been centralized into cBlockPlant, and all growable plants now inherit from it.Samuel Barney1-0/+2
2015-07-14Improved mapsTiger Wang1-5/+15
2015-07-01Added neighbor specification in the OnNeighborChanged() block callback.Mattes D1-15/+15
2015-06-22Rebased version of CodeSamuel Barney1-9/+0
2015-06-19Externalized cPrefabPiecePool self-test.Mattes D1-0/+1
2015-04-29Clay blocks are handled with the OreHandlerjammet1-0/+1
2015-04-16Fixed PolishedGranite et al crafting recipes.Mattes D1-1/+1
2014-12-24Refactored all player block placing to go through hooks.Mattes D1-1/+1
2014-12-01Added cocoa pod.Howaner1-0/+2
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-4/+4
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-4/+4
2014-10-15Functions in cPluginManager get references instead of pointers.Mattes D1-1/+1
2014-10-07Removed unused cBlockHayBaleHandler.Howaner1-2/+1
2014-09-27Added default value to switch and spruce gate to fence gate handlerMasy981-0/+1
2014-09-26Removed more unessicary includesTycho1-2/+2
2014-09-17Fixed minor style issues.madmaxoft1-1/+1
2014-09-13Improved cBlockHandler::DropBlockTiger Wang1-40/+28
2014-09-12Added Sea Lantern dropsMasy981-0/+2
2014-09-12Spawn exp if you break a mob spawner.Howaner1-0/+2
2014-09-11Fixed incorrect handlersMasy981-3/+3
2014-09-10Added new blocks to the BlockInfoMasy981-0/+1
2014-09-10Added new blocks to the BlockHandlerMasy981-0/+12
2014-09-09Moved sound-configs into BlockID.h and fixed/ added loads of soundsMasy981-9/+0
2014-08-30Added a_Digger checkJaume Aloy1-28/+31
2014-08-22More EnchantmentsJaume Aloy1-1/+0
2014-08-21Protection Enchantments, some fixesJaume Aloy1-7/+8
2014-08-19Code formatting fixes.Howaner1-4/+2
2014-08-19Changed if in BlockHandlerJaume Aloy1-5/+2
2014-08-19FixesJaume Aloy1-35/+35
2014-08-19Changed if for switchJaume Aloy1-11/+22
2014-08-19Added more enchantments and some fixesJaume Aloy1-4/+28
2014-07-30Added beacon.Howaner1-0/+1
2014-07-24Fixed block dropsTiger Wang1-8/+11
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft1-2/+2
2014-07-18Added a extra wall sign handler.Howaner1-3/+4
2014-07-17Fixed issues relating to saplings and leavesTiger Wang1-35/+11
2014-07-17Basic style fixes.madmaxoft1-2/+2
2014-07-14Fixed some meta resetting bugsTiger Wang1-1/+1
2014-07-12Suggestions and bug fixTiger Wang1-7/+5
2014-07-11SuggestionsTiger Wang1-1/+2
2014-07-11SuggestionsTiger Wang1-5/+6
2014-07-07Implemented trapped chests & othersTiger Wang1-0/+1
2014-06-28Implemented tripwire(s) (hooks)Tiger Wang1-0/+4
2014-06-23Added a (disabled) block meta mirror / rotate test code.madmaxoft1-2/+87
2014-06-17Add pressure plate handlerHowaner1-0/+5
2014-06-16Glass shouldn't drop.Howaner1-0/+3
2014-05-28Fix hay place sound.Howaner1-1/+2
2014-05-07Rename CanChangeDirtToGrass to CanDirtGrowGrassHowaner1-2/+2
2014-04-06Add CanChangeDirtToGrass function to Block Handlers.Howaner1-0/+9
2014-03-28Add tall flower handler.Howaner1-0/+2
2014-03-23Implemented lilypad placementTiger Wang1-0/+2
2014-03-16Add cakeHowaner1-0/+2
2014-03-16Add anvil direction.Howaner1-0/+2
2014-03-08cBlockInfo-related changes from #723andrew1-0/+1
2014-03-05Add data backsending, when the Client interacts a Block and the Interact is cancelled.Howaner1-0/+10
2014-03-02cBlockInfo now manages the respective cBlockHandlerandrew1-43/+2
2014-02-23Rename SkullEntity to MobHeadEntityHowaner1-2/+2
2014-02-23Add Heads completelyHowaner1-0/+2
2014-02-19Add new Trees (without Generator)Howaner1-0/+4
2014-02-19Rename SkullEntity to MobHeadEntityHowaner1-2/+2
2014-02-18Add Heads completelyHowaner1-0/+2
2014-02-04Improved Type safety of eBlockFaceTycho1-3/+3
2014-02-03Renamed cBlockQuartsHandler to cBlockQuartzHandler. Fixed not being able to place normal quartz blocks.STRWarrior1-1/+1
2014-02-03This renames the cBlockWoodHandler to cBlockSidewaysHandler, and implements a new cBlockQuartzHandler to handle the quartz pillars.STRWarrior1-3/+6
2014-02-02Fixed dark oak and acacia placement.madmaxoft1-0/+1
2014-02-02Changed Signiture of OnUpdateTycho1-7/+7
2014-02-01Changed Signiture of OnDiggingTycho1-1/+1
2014-02-01Changed Signiture of OnDestroyedByPlayerTycho1-1/+2
2014-02-01Changed pointers to referencesTycho1-10/+10
2014-02-01Changed signitures of Several BLockHandler MethodsTycho1-5/+5
2014-01-26Refactored GetPlacementBlockTypeMetaTycho1-1/+1
2014-01-26Refactored cBlockHandler::OnUse and dependentsTycho1-18/+18
2014-01-25First attempt at Implementing InterfacesTycho1-1/+1
2014-01-20first changes for enchanting (not finished)daniel09161-0/+2
2014-01-19Improved command blocksTiger Wang1-0/+2
2013-12-18Implented Nether Wart.STRWarrior1-0/+2
2013-12-10Provides a possible fix for repeater timingsTiger Wang1-1/+1
2013-12-10Improved pickups spawning speed againTiger Wang1-3/+2
2013-12-08Readded redstone lamp handlerTiger Wang1-0/+2
2013-12-08Moved bindings-related to a Bindings subfolder.madmaxoft1-1/+1
2013-12-08Fixed stationary water starting fires and flowing lava not.madmaxoft1-2/+2
2013-12-07Fixed water starting firesTiger Wang1-1/+0
2013-12-07Fixed some new 1.7 client crash bugsTiger Wang1-0/+2
2013-12-04Lava can spawn fire.madmaxoft1-6/+6
2013-11-30Changed cBlockHandler->OnUpdate() to use cChunk directly.madmaxoft1-1/+1
2013-11-29Implemented trapdoors, fixes #43 and #105Tiger Wang1-0/+2
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-02Readded BlockPortal.h (portals)Tiger Wang1-0/+2
2013-09-22Added button placement handlerTiger Wang1-0/+3
2013-09-19Fixed pickup block spawningTiger Wang1-8/+9
2013-09-18Fixed pickupsTiger Wang1-7/+11
2013-09-18Implemented redstone comparatorsTiger Wang1-2/+5
2013-09-18Multiple fixes [SEE DESC]Tiger Wang1-1/+2
2013-09-15Torches work properlyTiger Wang1-1/+1
2013-09-15Removed leftover CanBePlacedOnSideTiger Wang1-9/+0
2013-09-15Removed leftover DoesAllowBlockOnTopTiger Wang1-9/+0
2013-09-10Pumpkin and JackOLantern supportTiger Wang1-0/+3
2013-09-09Added a few changes [SEE DESC]Tiger Wang1-0/+8
2013-08-23Double slabs work *choke choke*Tiger Wang1-2/+3
2013-08-20Fixed broken carpet handler [SEE DESC]Tiger Wang1-0/+1
2013-08-20Activator rail now uses rail handlerTiger Wang1-0/+1
2013-08-12Added quartz stairs.STRWarrior1-0/+1
2013-08-10Piston head, when removed, removes the associated piston body, too.madmaxoft1-0/+1
2013-08-09Piston head, when removed, removes the associated piston body, too.madmaxoft1-0/+1
2013-08-05Added the Carpet block.madmaxoft1-44/+45
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-453/+453
2013-06-18TNT fixes.madmaxoft@gmail.com1-2/+0
2013-06-12Implemented the Hopper block handlermadmaxoft@gmail.com1-2/+4
2013-06-09Fixed 2 more tabs...faketruth1-1/+1
2013-06-09Added dead bush block handler so a dead bush pickup is dropped when the sand underneath it is removed.faketruth1-0/+2
2013-05-26Implemented droppersmadmaxoft@gmail.com1-2/+3
2013-04-27Fixed a few possible crashes with out-of-bounds Y coordsmadmaxoft@gmail.com1-1/+4
2013-04-18Initial implementation of explosions and TNT blockkeyboard.osh@gmail.com1-0/+2
2013-04-06Cobwebs are now washed away by water and can be broken by swords and shears, giving string.madmaxoft@gmail.com1-0/+2
2013-04-05Added carrots and potatoes handling, bonemealing and proper lighting.madmaxoft@gmail.com1-0/+2
2013-03-15Huge performance boost in blockhandlers, they have direct access to chunk data when blockchecking.madmaxoft@gmail.com1-15/+10
2013-02-28Simulators now have direct access to the cChunk object in the WakeUp() callmadmaxoft@gmail.com1-2/+2
2013-02-16Removed all E_ITEM_ symbols equivalent to E_BLOCK_, and all obsolete item and block symbols.madmaxoft@gmail.com1-1/+1
2013-01-27Added the HOOK_BLOCK_TO_PICKUPS hook that fires when a block is dug up and should be converted to pickups.madmaxoft@gmail.com1-2/+8
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-15/+22
2012-12-29Cauldrons and Brewing Stands are now placeableluksor111@gmail.com1-0/+4
2012-12-27Added flower potsluksor111@gmail.com1-0/+2
2012-12-19Implemented double doorsluksor111@gmail.com1-0/+2
2012-12-16Levers (patch contributed by Keyboard)madmaxoft@gmail.com1-0/+2
2012-11-27Added initial adventure mode supportluksor111@gmail.com1-0/+2
2012-11-26Fixed certain blocks crashing clients when minedluksor111@gmail.com1-0/+2
2012-11-25Implemented rail placement mechanics.luksor111@gmail.com1-0/+4
2012-11-24Fixed drops for: Stone, Mycelium, Redstone Torch.luksor111@gmail.com1-0/+3
2012-10-21Added jukeboxes (patch contributed by Luksor)madmaxoft@gmail.com1-0/+1
2012-10-14Floody fluid simulator now dries up correctly, too.madmaxoft@gmail.com1-0/+22
2012-10-07All blockticking is now done in cBlockHandlersmadmaxoft@gmail.com1-120/+85
2012-10-03Moved blockticking into blockhandler classes.madmaxoft@gmail.com1-81/+81
2012-10-01Slight refactoring of BlockHandlers - dropping unneeded virtual functionsmadmaxoft@gmail.com1-43/+16
2012-09-30Added some missing block enumsfaketruth1-0/+3
2012-09-29Unified folder name-casingmadmaxoft@gmail.com1-0/+0
2012-09-29Made beds placeablefaketruth1-1/+4
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-3/+3
2012-09-11Merged in a patch for sounds by l0udPLmadmaxoft@gmail.com1-0/+14
2012-09-04Fixed FS #243, server crash after restart. The blockhandler table and the itemhandler table weren't properly re-initialized.madmaxoft@gmail.com1-112/+228
2012-08-28Fixed a few warningsmadmaxoft@gmail.com1-3/+3
2012-08-26Added basic noteblocks, finished sign storage in Anvil (patch contributed by l0udPL)madmaxoft@gmail.com1-0/+3
2012-08-22Added a documentation for block and item handlerslapayo94@gmail.com1-6/+0
2012-08-19Fixed Bug #236lapayo94@gmail.com1-1/+6
2012-08-06BLOCKTYPE signedness change - fixed more detailsmadmaxoft@gmail.com1-1/+1
2012-07-28Fixed a few gcc warningsmadmaxoft@gmail.com1-1/+1
2012-07-16Some code improvementslapayo94@gmail.com1-4/+4
2012-07-16Fixed some small bugs :)lapayo94@gmail.com1-2/+13
2012-07-15A new Block handling system :olapayo94@gmail.com1-0/+302