madmaxoft
d4a3c451c4
Added OnExploding() and OnExploded() hooks.
...
As requested in FS 413, with extra parameters:
World, BlockX, BlockY, BlockZ, Size, CanCauseFire, Source, SourceData
OnExploding() can return 3 values:
StopHook, CanCauseFire, ExplosionSize
2013-08-09 14:58:43 +02:00
madmaxoft
073bcd0361
Added the Carpet block.
2013-08-05 10:43:43 +02:00
madmaxoft@gmail.com
2fca0567bf
Added a StringToMobType() function to the Lua API (patch contributed by STR_Warrior)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1674 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-12 20:28:41 +00:00
madmaxoft@gmail.com
37f6c78404
Added DamageType translation to API
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1639 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-07-01 18:46:45 +00:00
madmaxoft@gmail.com
9dd0486faf
Added the End height and composition generators.
...
Also made the dimension in world.ini specifiable by a string. Exported StringToDimension() and StringToBiome() to Lua API.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1621 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-22 18:41:08 +00:00
madmaxoft@gmail.com
c867bdac24
Updated the stacking (Patch contributed by Stephen304)
...
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-06-20 18:29:34 +00:00
madmaxoft@gmail.com
007e75de9d
Implemented the Hopper block handler
...
Hoppers can be placed properly, but won't work yet.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1583 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-12 08:22:34 +00:00
madmaxoft@gmail.com
a9d221b74b
ToLuaDoxy: initial import
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1544 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-04 09:46:32 +00:00
madmaxoft@gmail.com
96d5986733
Alpha-sorted the block meta list
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1512 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-26 14:32:25 +00:00
madmaxoft@gmail.com
5d3ade0267
Inventory changes made by plugins are now propagated to the client
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1495 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-19 18:41:16 +00:00
madmaxoft@gmail.com
502935c061
Mineshafts: Added random loot to generated chests and fixed chest direction
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1365 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-06 21:21:57 +00:00
madmaxoft@gmail.com
c1177929df
MineShafts: added random torches, fixed beams on chunk boundaries
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1344 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-01 11:32:22 +00:00
madmaxoft@gmail.com
59f3adf210
MineShafts: Added tracks to corridors
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1342 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-31 19:23:09 +00:00
madmaxoft@gmail.com
0e2340ee34
Added missing item types, fixed placing stone walls.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1243 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-03 14:00:49 +00:00
madmaxoft@gmail.com
cadf97a70a
Added the anvil block
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1239 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-02 19:55:04 +00:00
madmaxoft@gmail.com
32ee4aaf1e
Removed all E_ITEM_ symbols equivalent to E_BLOCK_, and all obsolete item and block symbols.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1218 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-16 11:12:56 +00:00
madmaxoft@gmail.com
246ab5d971
Fixed previous commit
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1216 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-15 22:03:10 +00:00
madmaxoft
666a718db1
Block and recipe update by STR_Warrior.
...
Adds missing fuels
Adds missing furnace recipes (FS #304 )
Fixes some recipes (FS #305 )
Adds current 1.5 weekly snapshot blocks and items.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1215 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-15 15:26:33 +00:00
madmaxoft@gmail.com
6c97763b2f
Obsoleted E_BLOCK_COCA_PLANT in favor of E_BLOCK_COCOA_POD.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1162 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-22 06:46:39 +00:00
madmaxoft@gmail.com
43e6840719
Merged branch "branches/hooks" into "trunk".
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-01-12 04:46:01 +00:00
luksor111@gmail.com
ffcfa7c89b
Added flower pots
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1107 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-27 01:01:16 +00:00
madmaxoft@gmail.com
641c7f868c
Added 1.4.6 items (patch contributed by STR_Warrior)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1101 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-24 22:28:48 +00:00
luksor111@gmail.com
eed6f9bb7b
Fixed drops for: Stone, Mycelium, Redstone Torch.
...
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
2012-11-24 09:50:38 +00:00
luksor111@gmail.com
ea8545dff1
- Added the "wait" music disc
...
- Vines can now be placed on leaves
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1045 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-15 18:57:47 +00:00
madmaxoft@gmail.com
96f7246df1
Added cWorld:SpawnMob(PosX, PosY, PosZ, EntityType) to Lua API
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1014 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-28 14:57:35 +00:00
luksor111@gmail.com
1e45242546
New Block property g_BlockIsSolid[]; Fixed ladder, torches and vines placement. (Patch contributed by funmaker)
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1005 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-23 18:13:37 +00:00
faketruth
673fdcd768
Added some missing block enums
...
Spruce, birch and jungle wood stairs now orient correctly
git-svn-id: http://mc-server.googlecode.com/svn/trunk@916 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-30 19:07:03 +00:00
madmaxoft@gmail.com
bc466f07a4
Refactored windows.
...
As described on the forum: http://forum.mc-server.org/showthread.php?tid=561
For now, only basic clicking works; shift-click not implemented yet.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@867 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-20 13:25:54 +00:00
madmaxoft@gmail.com
8c43857b73
Added the ItemToString() and ItemTypeToString() functions.
...
Ref.: http://forum.mc-server.org/showthread.php?tid=434&pid=4506#pid4506
git-svn-id: http://mc-server.googlecode.com/svn/trunk@847 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-08 16:08:29 +00:00
madmaxoft@gmail.com
dfa9a1e7c4
Added a few more stackable items
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@733 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-14 09:28:17 +00:00
madmaxoft@gmail.com
897733a58e
Use named constants instead of magic values - block digging direction and torch placement
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@724 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-10 20:42:59 +00:00
madmaxoft@gmail.com
2a72c5c838
Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@711 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-03 11:53:11 +00:00
madmaxoft@gmail.com
9dc0e3c233
Fixed warnings in item handlers - items' damage value is a short, but block meta is only a NIBBLETYPE. Also slight cleanup.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@704 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-29 12:07:22 +00:00
lapayo94@gmail.com
86a991c5a8
Some code improvements
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@677 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-16 19:20:37 +00:00
lapayo94@gmail.com
14dce23845
A new Block handling system :o
...
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
2012-07-15 20:36:34 +00:00
madmaxoft@gmail.com
933305fd95
Removed the deprecated confusing E_BLOCK_WOOD
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@667 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-15 13:35:43 +00:00
madmaxoft@gmail.com
3efd8fdabb
Fixed lighting for cake, fence, fence gates, glass pane, iron bars, iron door and wooden door
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@625 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-16 18:44:07 +00:00
cedeel@gmail.com
92c59963f8
Attempt to bring sanity to newlines across systems.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14 13:06:06 +00:00
madmaxoft@gmail.com
116bd7ce34
BlockIDs, ItemIDs and Metas updated, courtesy of Taugeshtu
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@560 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-06 19:46:49 +00:00
madmaxoft@gmail.com
b355bdecce
Added the new recipe parser, parsing the crafting.txt file. Included are a few recipes. The old parser still works, but will be replaced soon.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@549 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-04 12:08:20 +00:00
madmaxoft@gmail.com
9d6a5b9ce0
Added code for the chunks to manipulate their neighbors while ticking. Also added some basic farming support - melon and pumpkin growing code. Untested and untestable so far, will test and fix later.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@518 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-29 14:59:43 +00:00
madmaxoft@gmail.com
7c72bbb706
Added some useful biome synonyms; added block property IsSnowable; alphabetically sorted block property setting
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@513 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27 17:30:27 +00:00
madmaxoft@gmail.com
5d4e9e18da
Added wool and netherrack block IDs
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@509 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27 14:02:13 +00:00
madmaxoft@gmail.com
ba2f0c6229
Added the CheckerBoardBiomes parameter for setting biomes that CheckerBoard generates ( #179 ). Added string-to-biome conversion ( #183 ). Added OreNests to default Structures configuration.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@506 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-27 10:51:04 +00:00
madmaxoft@gmail.com
a4a418a679
Merged the composable_generator branch into the trunk
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-25 07:18:52 +00:00
madmaxoft@gmail.com
cb1edaf6df
Fixed MapChunk packets to include (fake) biome data, makes clients happy
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@403 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-12 19:29:31 +00:00
admin@omencraft.com
a9e02cf8fa
Updated redstone and pistons some mode. If you break an extended piston the piston extension will now also break. When a redstone device is broken by something other than a person the redstone circuit should now update.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@74 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-07 22:59:29 +00:00
admin@omencraft.com
907ba15fe2
Added Sebi's changes to pistons and item drops.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@72 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-07 18:19:38 +00:00
admin@omencraft.com
f32b5aafe8
Added all the items up to Beta 1.9.5. Added pistons and piston class.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@63 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-05 18:28:19 +00:00
admin@omencraft.com
301569a6c9
Added some redstone items.
...
git-svn-id: http://mc-server.googlecode.com/svn/trunk@49 0a769ca7-a7f5-676a-18bf-c427514a06d6
2011-11-03 05:53:54 +00:00