summaryrefslogtreecommitdiffstats
path: root/source/Items (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Basic support for thrown items - eggs, snowballs and ender pearls.madmaxoft2013-08-302-0/+94
| | | | They can be thrown, but they don't do anything on impact. Also they don't save to nor load from MCA.
* Shooting a bow kinda works.madmaxoft2013-08-303-10/+101
| | | | The arrow is released, but sometimes hits wrong blocks or disappears completely.
* Fixed lighters replacing blocksTiger Wang2013-08-231-3/+6
|
* Moved entities into the Entities subfolder.madmaxoft2013-08-1910-52/+85
|
* Compilation and Minecart fixesTiger Wang2013-08-161-3/+5
|
* Merge remote-tracking branch 'upstream/master'Tiger Wang2013-08-161-1/+1
|\
| * Replaced E_ENTITY_TYPE_XXX with cMonster::mtXXX.madmaxoft2013-08-161-1/+1
| | | | | | | | Also slightly improved the spawning algorithm.
* | Feature and bugfixes [SEE DESC]Tiger Wang2013-08-162-0/+3
|/ | | | | | | | | 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
* Fixed food handler for mushroom soup - proper food level and saturation are applied and the player receives a wooden bowl back after nommingJames Ravenscroft2013-08-082-0/+2
|
* Alpha-sort the foodstuffs.bearbin2013-08-021-13/+14
|
* Add the new food items.bearbin2013-08-021-16/+21
| | | Enchanted golden apples are not required, as they are a meta value and provide the same nourishment as plain golden apples.
* Changed everyting to Unix line endings.Alexander Harkness2013-07-2928-1909/+1909
|
* Implemented basic eating support.madmaxoft2013-07-283-47/+51
| | | | Food is now properly consumed and it takes 1.5 sec.
* Empty buckets replace fluid buckets on use and vice versa (patch contributed by Mgueydan)madmaxoft2013-07-031-3/+3
| | | | | | | Fixes FS #277. API change: added an optional parameter to cItemGrid:AddItem(), cItemGrid:AddItems(), cInventory:AddItem() and cInventory:AddItems() git-svn-id: http://mc-server.googlecode.com/svn/trunk@1643 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Updated the stacking (Patch contributed by Stephen304)madmaxoft@gmail.com2013-06-201-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
* More TNT fixes.madmaxoft@gmail.com2013-06-181-2/+1
| | | | | | | | Chain-reaction TNTs are spawned in proper coordinates (FS #390) Centralized Primed TNT entity spawning and made available to the plugins. Internal changes for better TNT performance. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1604 0a769ca7-a7f5-676a-18bf-c427514a06d6
* TNT fixes.madmaxoft@gmail.com2013-06-181-3/+20
| | | | | | | | | Other blocks can be placed next to TNT. Explosions activate nearby TNT blocks. TNT doesn't destroy bedrock, obsidian and liquid blocks. Server doesn't crash when a TNT (or other entity) leaves the valid Y range. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1603 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Removed cLadder, cSign, cStairs, cTorch and cVine classes, moved their functionality into the appropriate BlockHandlers / ItemHandlersmadmaxoft@gmail.com2013-06-041-3/+3
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1555 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Shears mask the leaves' metamadmaxoft@gmail.com2013-06-041-1/+1
| | | | | | Fixes FS #367 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1548 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Refactored cInventory to use cItemGrid for the actual Storagemadmaxoft@gmail.com2013-05-244-15/+9
| | | | | | This makes the API more orthogonal and is easier to use in the plugins. Also changes in the inventory are now propagated to the needed places (armor updates to BroadcastEntityEquipment etc.) even when the inventory is changed by a plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1503 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Inventory code cleanup, players can now see each other's armormadmaxoft@gmail.com2013-05-1911-30/+31
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1493 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed crash with Minecart. It was getting added twice to the world and it was causing and ASSERT to fail.keyboard.osh@gmail.com2013-04-281-1/+0
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1425 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Cobwebs are now washed away by water and can be broken by swords and shears, giving string.madmaxoft@gmail.com2013-04-062-2/+2
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1363 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added carrots and potatoes handling, bonemealing and proper lighting.madmaxoft@gmail.com2013-04-052-2/+6
| | | | | | FS #166 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1359 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Player can sit in minecarts (but not move them yet)madmaxoft@gmail.com2013-03-031-5/+7
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1249 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added missing item types, fixed placing stone walls.madmaxoft@gmail.com2013-03-031-16/+33
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1243 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Minecarts can now be placed.madmaxoft@gmail.com2013-02-182-16/+103
| | | | | | No interaction, no physics, though. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1219 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Removed all E_ITEM_ symbols equivalent to E_BLOCK_, and all obsolete item and block symbols.madmaxoft@gmail.com2013-02-163-13/+13
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1218 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added the HOOK_BLOCK_TO_PICKUPS hook that fires when a block is dug up and should be converted to pickups.madmaxoft@gmail.com2013-01-274-11/+11
| | | | | | 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
* Fixed a possible crash on server restart.madmaxoft@gmail.com2013-01-211-0/+1
| | | | | | May be related to FS #294 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1161 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com2013-01-1219-184/+344
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Cauldrons and Brewing Stands are now placeableluksor111@gmail.com2012-12-294-0/+55
| | | | | | 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
* Fixed slab usage in creative modeluksor111@gmail.com2012-12-271-3/+11
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1112 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added flower potsluksor111@gmail.com2012-12-272-0/+27
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1107 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed drops for: Stone, Mycelium, Redstone Torch.luksor111@gmail.com2012-11-241-2/+5
| | | | | | Fixed item usage for Jukeboxes and Spawn eggs in survival. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1064 0a769ca7-a7f5-676a-18bf-c427514a06d6
* - Added the "wait" music discluksor111@gmail.com2012-11-152-3/+3
| | | | | | - Vines can now be placed on leaves git-svn-id: http://mc-server.googlecode.com/svn/trunk@1045 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added cWorld:SpawnMob(PosX, PosY, PosZ, EntityType) to Lua APImadmaxoft@gmail.com2012-10-281-141/+6
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@1014 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added more item stacking sizes (patch contributed by Hanfer)madmaxoft@gmail.com2012-10-211-26/+65
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@997 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added spawn eggs with mobs (patch committed by Luksor)madmaxoft@gmail.com2012-10-191-2/+117
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@979 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed a few bugs in fluid placement - fluid into other fluid, fluid into washable blocks.madmaxoft@gmail.com2012-10-1824-230/+335
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@977 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Added basic spawn eggs (patch contributed by Luksor)madmaxoft@gmail.com2012-10-182-11/+78
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@973 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Fixed the bucket handling code trying to simulate at the wrong coords (client sends all coords as -1 to signify "item use")madmaxoft@gmail.com2012-10-141-12/+12
| | | | git-svn-id: http://mc-server.googlecode.com/svn/trunk@961 0a769ca7-a7f5-676a-18bf-c427514a06d6
* Moved blockticking into blockhandler classes.madmaxoft@gmail.com2012-10-037-14/+23
| | | | | | 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
* Unified folder name-casingmadmaxoft@gmail.com2012-09-2923-0/+1319
git-svn-id: http://mc-server.googlecode.com/svn/trunk@902 0a769ca7-a7f5-676a-18bf-c427514a06d6