summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemHandler.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2017-11-20cItemHandler: Update max stack size of old doors. (#4072)peterbell101-0/+2
2017-09-14Fix switch warnings (#4013)peterbell101-2/+2
2017-08-21Fully implemented leashes (#3798)Pablo Beltrán1-0/+1
2017-08-02Removed double includes (#3885)Lukas Pioch1-1/+0
2017-08-01cBlockHandler: take player by refpeterbell101-2/+2
2017-08-01cWorld::SendBlockTo take player by refpeterbell101-2/+2
2017-07-30Consolidated food effects into EatItem, added all fish type FoodInfos. (#3875)Lane Kolbly1-27/+4
2017-07-07BigFlower fixes (#3826)peterbell101-9/+3
2017-06-13FastRandom rewrite (#3754)peterbell101-2/+1
2017-03-19Deadbushes drop sticksBond-0091-1/+0
2017-02-15Updated sounds and effect IDs (#3422)mathiascode1-23/+0
2017-02-14Added some blocks and items (#3503)mathiascode1-2/+34
2016-11-06Anticheat fastbreak (#3411)mohe20151-0/+20
2016-02-05Bulk clearing of whitespaceLogicParrot1-22/+22
2015-12-22add handling of water bottleGargaj1-0/+2
2015-12-03Merge mushroom soup into generic food handlerGargaj1-2/+1
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-1/+4
2015-07-14Improved mapsTiger Wang1-2/+3
2015-06-21Refactored block placement workflow.Mattes D1-18/+53
2015-05-09CheckBasicStyle: checks spaces around * and &.Mattes D1-1/+1
2015-05-09Rabbit and cooked rabbit now stackablejammet1-1/+3
2015-05-07Fixed #1893Tri1251-0/+1
2015-04-20ItemHandler type fixes.Mattes D1-2/+2
2015-04-20ItemHandler: Using automatic array bounds.Mattes D1-1/+1
2015-04-16Fixed PolishedGranite et al crafting recipes.Mattes D1-2/+2
2015-04-14Placing a fluid from bucket calls plugin hooks.Mattes D1-2/+6
2014-12-25Fixed forgotten big flower handler.Mattes D1-1/+2
2014-12-24Refactored all player block placing to go through hooks.Mattes D1-43/+156
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-2/+2
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-2/+2
2014-10-07Leaves are harvest-able.Howaner1-2/+0
2014-10-07Corrected drops from dead bush, tall grass and cobweb.Howaner1-0/+4
2014-10-01Fixed sortingMasy981-2/+2
2014-10-01Fixed Red Sandstone and Prismarine dropsMasy981-0/+1
2014-09-13Improved cBlockHandler::DropBlockTiger Wang1-1/+1
2014-09-12Added extra mushroom handler.Howaner1-2/+6
2014-09-12Fixed 1.8 Item stacking and block harvestingMasy981-25/+43
2014-09-12Disabled mobspawner itemdrop.Howaner1-0/+1
2014-09-11Fixed mutton name in Sheep.cppMasy981-2/+10
2014-09-11Fixed mutton name in ItemHandlerMasy981-1/+1
2014-09-03Fixed style and alpha-sorting.madmaxoft1-4/+4
2014-09-03Added mutton, which sheep now drop when killedarchshift1-0/+2
2014-08-30Fixed potion removing in creative mode.Howaner1-0/+1
2014-08-05Fixed unsigned long comparison to size_tarchshift1-1/+1
2014-07-31Fixed hunger bugs, Implemented golden apple, added jump statistic, added correct food effects.Howaner1-11/+22
2014-07-31Fixed water from ice and removed packed ice drop.Howaner1-0/+1
2014-07-27Hotfixed compilation problems.madmaxoft1-1/+1
2014-07-26Rename function.Howaner1-3/+3
2014-07-24Fixed block dropsTiger Wang1-4/+43
2014-07-23Fix item durability.Howaner1-2/+30
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft1-1/+1
2014-07-21Style: Normalized spaces after if, for and while.madmaxoft1-1/+1
2014-07-17Fixed issues relating to saplings and leavesTiger Wang1-6/+3
2014-07-17Fixed tabs used for alignment.madmaxoft1-7/+7
2014-07-17Basic style fixes.madmaxoft1-3/+3
2014-07-17Normalized comments.madmaxoft1-2/+2
2014-07-14ItemHandler.cpp: removed redundant food and drink checksarchshift1-33/+0
2014-07-01Only fixes the server crash.Howaner1-1/+1
2014-07-01Fix server-crash with non-existing items.Howaner1-1/+1
2014-06-28Implemented tripwire(s) (hooks)Tiger Wang1-0/+2
2014-06-19Nullify deleted pointers.archshift1-0/+1
2014-06-17ItemHandler: changed IsDrinkable() to take a short argumentarchshift1-2/+2
2014-06-17Implemented drinkable potions, noeffect entity effect,archshift1-1/+5
2014-06-17Implemented milk, added documentation to Pawn.harchshift1-1/+18
2014-06-17Player: Removed food-poisoning-specific code, set duration to 30 secondsarchshift1-1/+1
2014-05-07Add repair cost to cItem, add custom name to NBTChunkSerializer and fix anvil bugs.Howaner1-9/+0
2014-05-06Rename CanRepairWithItem to CanRepairWithRawMaterial and rename Size() to Count()Howaner1-1/+1
2014-05-05Add anvil window and slot area.Howaner1-0/+19
2014-04-24Add armor to switch() in ItemHandler.cppHowaner1-6/+25
2014-04-24Fix armor in survival mode.Howaner1-0/+7
2014-04-18Did some static analysis, fixed some bugs and optimized a lot of codejfhumann1-1/+0
2014-04-04Fixed Clang warnings in itemhandlers.madmaxoft1-3/+3
2014-03-28Some fixes to lilypadsTiger Wang1-0/+2
2014-03-16Add new leaves to all classes.Howaner1-0/+1
2014-03-16Add cakeHowaner1-0/+3
2014-03-14Add fireball interactHowaner1-0/+1
2014-03-02cBlockInfo now manages the respective cBlockHandlerandrew1-1/+1
2014-02-28Fixed multiple gcc warnings about unused params.madmaxoft1-1/+25
2014-02-23Rename SkullEntity to MobHeadEntityHowaner1-2/+2
2014-02-23Add Skulls/HeadsHowaner1-0/+2
2014-02-19Rename SkullEntity to MobHeadEntityHowaner1-2/+2
2014-02-18Implemented paintings, fixes #689Tiger Wang1-2/+4
2014-02-18Implemented item frames, a part of #689Tiger Wang1-0/+3
2014-02-17Add Skulls/HeadsHowaner1-0/+2
2014-02-17Map item handler; Fixed several bugsandrew1-0/+2
2014-02-14EmptyMap item handlerandrew1-0/+2
2014-02-04Improved Type safety of eBlockFaceTycho1-3/+3
2014-02-03Fixed #626Tiger Wang1-10/+15
2014-02-02Changed Signiture of OnUpdateTycho1-1/+4
2014-02-01Changed pointers to referencesTycho1-1/+1
2014-01-26Refactored GetPlacementBlockTypeMetaTycho1-1/+2
2013-12-19Implented cItemFishingRodHandler.STRWarrior1-0/+2
2013-12-18Implented Nether Wart.STRWarrior1-0/+2
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-11-16General fixes [SEE DESC]Tiger Wang1-0/+2
2013-09-21Fixed pickup spawning with inherited gamemode.madmaxoft1-1/+1
2013-09-18Implemented redstone comparatorsTiger Wang1-0/+2
2013-09-18Multiple fixes [SEE DESC]Tiger Wang1-14/+0
2013-09-14Fixed empty-handed itemhandler.madmaxoft1-6/+6
2013-09-08Initial boat supportTiger Wang1-0/+6
2013-08-30Basic support for thrown items - eggs, snowballs and ender pearls.madmaxoft1-0/+4
2013-08-30Shooting a bow kinda works.madmaxoft1-7/+15
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-1/+1
2013-08-16Feature and bugfixes [SEE DESC]Tiger Wang1-0/+2
2013-08-08Fixed food handler for mushroom soup - proper food level and saturation are applied and the player receives a wooden bowl back after nommingJames Ravenscroft1-0/+1
2013-07-29Changed everyting to Unix line endings.Alexander Harkness1-500/+500
2013-07-28Implemented basic eating support.madmaxoft1-6/+9
2013-06-20Updated the stacking (Patch contributed by Stephen304)madmaxoft@gmail.com1-0/+16
2013-05-19Inventory code cleanup, players can now see each other's armormadmaxoft@gmail.com1-4/+4
2013-04-05Added carrots and potatoes handling, bonemealing and proper lighting.madmaxoft@gmail.com1-1/+3
2013-03-03Added missing item types, fixed placing stone walls.madmaxoft@gmail.com1-16/+33
2013-02-18Minecarts can now be placed.madmaxoft@gmail.com1-16/+24
2013-02-16Removed all E_ITEM_ symbols equivalent to E_BLOCK_, and all obsolete item and block symbols.madmaxoft@gmail.com1-10/+10
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-7/+7
2013-01-21Fixed a possible crash on server restart.madmaxoft@gmail.com1-0/+1
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-31/+19
2012-12-29Cauldrons and Brewing Stands are now placeableluksor111@gmail.com1-0/+4
2012-12-27Added flower potsluksor111@gmail.com1-0/+2
2012-11-15- Added the "wait" music discluksor111@gmail.com1-2/+2
2012-10-21Added more item stacking sizes (patch contributed by Hanfer)madmaxoft@gmail.com1-26/+65
2012-10-18Fixed a few bugs in fluid placement - fluid into other fluid, fluid into washable blocks.madmaxoft@gmail.com1-62/+62
2012-10-18Added basic spawn eggs (patch contributed by Luksor)madmaxoft@gmail.com1-11/+9
2012-10-03Moved blockticking into blockhandler classes.madmaxoft@gmail.com1-1/+1
2012-09-29Unified folder name-casingmadmaxoft@gmail.com1-1/+1
2012-09-29Made beds placeablefaketruth1-0/+4
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-5/+5
2012-09-04Fixed FS #243, server crash after restart. The blockhandler table and the itemhandler table weren't properly re-initialized.madmaxoft@gmail.com1-0/+1
2012-08-23Fixed Bug #237lapayo94@gmail.com1-0/+4
2012-08-14Added a few more stackable itemsmadmaxoft@gmail.com1-12/+25
2012-08-11Added some stackable items in cItemHandler::GetMaxStackSize()madmaxoft@gmail.com1-0/+15
2012-08-11Added cItemHandler::GetMaxStackSize() with a very basic implementationmadmaxoft@gmail.com1-0/+16
2012-07-29Fixed warnings in item handlers - items' damage value is a short, but block meta is only a NIBBLETYPE. Also slight cleanup.madmaxoft@gmail.com1-88/+186
2012-07-17Fixed incompatibility to apples c++ compiler...lapayo94@gmail.com1-1/+4
2012-07-17Simple health regeneration systemlapayo94@gmail.com1-10/+45
2012-07-16Some code improvementslapayo94@gmail.com1-2/+8
2012-07-16Changed GetBlockMeta to return NIBBLETYPE instead of charmadmaxoft@gmail.com1-1/+1
2012-07-16fixed redstone repeater placementlapayo94@gmail.com1-0/+3
2012-07-15A new Block handling system :olapayo94@gmail.com1-0/+224