summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemHandler.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-02-04Improved Type safety of eBlockFaceTycho1-3/+3
May Fix #640
2014-02-03Fixed #626Tiger Wang1-10/+15
* Fixed consumption of carrots and potatoes
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
* Fixed faulty block face enumeration and functions + Added fireworks and exp bottle spawning * Fixed arrows again
2013-09-21Fixed pickup spawning with inherited gamemode.madmaxoft1-1/+1
2013-09-18Implemented redstone comparatorsTiger Wang1-0/+2
They can be placed and toggled, but stills needs proper redstone support
2013-09-18Multiple fixes [SEE DESC]Tiger Wang1-14/+0
- Removed two random block handling files in the item handling section that didn't do anything. (One was an attempt at making slabs work, but failed to realise that the coords would have to be the block CLICKED, and another was just a random empty file for handling wooden planks.) * Fixed placing repeater blocks not directioning properly * Fixed wood directions breaking plank metadata
2013-09-14Fixed empty-handed itemhandler.madmaxoft1-6/+6
This should fix FS 430.
2013-09-08Initial boat supportTiger Wang1-0/+6
+ Boats are saved + Boats have physics + Boats spawn
2013-08-30Basic support for thrown items - eggs, snowballs and ender pearls.madmaxoft1-0/+4
They can be thrown, but they don't do anything on impact. Also they don't save to nor load from MCA.
2013-08-30Shooting a bow kinda works.madmaxoft1-7/+15
The arrow is released, but sometimes hits wrong blocks or disappears completely.
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-1/+1
2013-08-16Feature and bugfixes [SEE DESC]Tiger Wang1-0/+2
Added TNT and Hopper minecarts Fixed piston code failing without an extension set Repeaters are now broken Fixed not being able to place a minecart on an activator rail Added much needed comments on piston code Fixed minor formatting issue
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
Food is now properly consumed and it takes 1.5 sec.
2013-06-20Updated the stacking (Patch contributed by Stephen304)madmaxoft@gmail.com1-0/+16
http://forum.mc-server.org/showthread.php?tid=503&pid=8609#pid8609 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1614 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-19Inventory code cleanup, players can now see each other's armormadmaxoft@gmail.com1-4/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1493 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-05Added carrots and potatoes handling, bonemealing and proper lighting.madmaxoft@gmail.com1-1/+3
FS #166 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1359 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-03Added missing item types, fixed placing stone walls.madmaxoft@gmail.com1-16/+33
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1243 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-18Minecarts can now be placed.madmaxoft@gmail.com1-16/+24
No interaction, no physics, though. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1219 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-16Removed all E_ITEM_ symbols equivalent to E_BLOCK_, and all obsolete item and block symbols.madmaxoft@gmail.com1-10/+10
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1218 0a769ca7-a7f5-676a-18bf-c427514a06d6
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
Note that cItems is used in the function signature but not yet exported in the API, TODO! git-svn-id: http://mc-server.googlecode.com/svn/trunk@1176 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-21Fixed a possible crash on server restart.madmaxoft@gmail.com1-0/+1
May be related to FS #294 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1161 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-31/+19
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-29Cauldrons and Brewing Stands are now placeableluksor111@gmail.com1-0/+4
Cauldrons can be filled with water and used to fill bottles git-svn-id: http://mc-server.googlecode.com/svn/trunk@1116 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-27Added flower potsluksor111@gmail.com1-0/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1107 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-15- Added the "wait" music discluksor111@gmail.com1-2/+2
- Vines can now be placed on leaves git-svn-id: http://mc-server.googlecode.com/svn/trunk@1045 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-21Added more item stacking sizes (patch contributed by Hanfer)madmaxoft@gmail.com1-26/+65
git-svn-id: http://mc-server.googlecode.com/svn/trunk@997 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-18Fixed a few bugs in fluid placement - fluid into other fluid, fluid into washable blocks.madmaxoft@gmail.com1-62/+62
git-svn-id: http://mc-server.googlecode.com/svn/trunk@977 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-18Added basic spawn eggs (patch contributed by Luksor)madmaxoft@gmail.com1-11/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@973 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-03Moved blockticking into blockhandler classes.madmaxoft@gmail.com1-1/+1
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-09-29Unified folder name-casingmadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-29Made beds placeablefaketruth1-0/+4
Android: Updated some stuff and set default view distance lower git-svn-id: http://mc-server.googlecode.com/svn/trunk@900 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-5/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
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
git-svn-id: http://mc-server.googlecode.com/svn/trunk@830 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-23Fixed Bug #237lapayo94@gmail.com1-0/+4
Sign placement git-svn-id: http://mc-server.googlecode.com/svn/trunk@781 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-14Added a few more stackable itemsmadmaxoft@gmail.com1-12/+25
git-svn-id: http://mc-server.googlecode.com/svn/trunk@733 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-11Added some stackable items in cItemHandler::GetMaxStackSize()madmaxoft@gmail.com1-0/+15
git-svn-id: http://mc-server.googlecode.com/svn/trunk@728 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-11Added cItemHandler::GetMaxStackSize() with a very basic implementationmadmaxoft@gmail.com1-0/+16
git-svn-id: http://mc-server.googlecode.com/svn/trunk@726 0a769ca7-a7f5-676a-18bf-c427514a06d6
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
git-svn-id: http://mc-server.googlecode.com/svn/trunk@704 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-17Fixed incompatibility to apples c++ compiler...lapayo94@gmail.com1-1/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@680 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-17Simple health regeneration systemlapayo94@gmail.com1-10/+45
Prepared for food git-svn-id: http://mc-server.googlecode.com/svn/trunk@679 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16Some code improvementslapayo94@gmail.com1-2/+8
git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16Changed GetBlockMeta to return NIBBLETYPE instead of charmadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@675 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16fixed redstone repeater placementlapayo94@gmail.com1-0/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@673 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15A new Block handling system :olapayo94@gmail.com1-0/+224
It was really a lot of work :D Took me the complete weekend :D Would really like to here your opinion on this =) The aim of this is to put all the actions for one block in one place so it is not spread around the source. (ToPickup, Action in cWorld, Action in cChunk, Action here, action there :D) git-svn-id: http://mc-server.googlecode.com/svn/trunk@671 0a769ca7-a7f5-676a-18bf-c427514a06d6