1
0
Commit Graph

104 Commits

Author SHA1 Message Date
Tiger Wang
405f67dac8 Fixed water starting fires 2013-12-07 22:35:01 +00:00
Tiger Wang
16db8533e1 Improved piston animations 2013-12-07 20:29:09 +00:00
Tiger Wang
5bed85aba0 Fixed some new 1.7 client crash bugs
Some technical blocks were removed; trying to render them as items
caused a crash.
2013-12-07 18:03:56 +00:00
Tiger Wang
a61082ffee Changed some FastSetBlocks to SetBlock
Should fix some duplication glitches.
2013-12-07 14:55:19 +00:00
Tiger Wang
1932cc38a1 Fixed trapdoors not toggling
The redstone simulator kept on resetting them.
2013-12-07 14:41:58 +00:00
Tiger Wang
347e80bdd8 Added basic ender chests
Note that they just mirror chests now, so no per player inventory.
2013-12-07 00:18:58 +00:00
Tiger Wang
30ead79049 Renamed animation function
Renamed BroadcastPlayerAnimation to BroadcastEntityAnimation. Not just
players can have animations, you know.
2013-12-06 23:47:07 +00:00
Tiger Wang
a5dd0e2b88 Fixed bed leave animation 2013-12-06 22:45:55 +00:00
Tiger Wang
b028731726 Fixed duplication glitch with QueueSetBlock
If a coordinate was queued, and then the block there was broken, it
would reappear: double items!

Also now just sets meta if previous and current blocktypes matched.
2013-12-06 22:29:15 +00:00
Tiger Wang
b115f3d636 Added trapdoor cursor Y detection 2013-12-06 21:31:55 +00:00
Tiger Wang
ec226e00ab Puking now uses GetEyeHeight() 2013-12-06 20:41:58 +00:00
Tiger Wang
e2a557f46c Added pickup invalid item check
They aren't spawned at all if their itemtype isn't valid; possibly fixes
the client crashing with bad pickups.
2013-12-06 20:39:42 +00:00
Tiger Wang
126577214a Re-implemented redstone duplicate checking 2013-12-06 20:33:48 +00:00
Tiger Wang
289e8cba21 Fixed eating using wrong animation 2013-12-06 20:28:27 +00:00
Tiger Wang
008c515b4b Fixed trapdoors not overriding OnUse 2013-12-06 20:01:52 +00:00
Tiger Wang
6c7de446ae Spawn eggs use IsGameMode()
Possible fix for #316.
2013-12-06 20:00:49 +00:00
Tiger Wang
44d5fd1e87 Tools make a sound when breaking, fixes #266 2013-12-06 19:59:14 +00:00
Tiger Wang
77a7bfb3e5 Cleaned up torch code and added comments 2013-12-06 19:35:10 +00:00
Tiger Wang
73dd2e9bed Removed another export and inline'd stuff 2013-12-06 19:24:45 +00:00
Tiger Wang
0376b847d7 Removed exporting of a torch function 2013-12-06 19:23:27 +00:00
Tiger Wang
57b8b38511 Updated comments for slabs 2013-12-06 19:22:25 +00:00
Tiger Wang
ee4d57a076 Fixed pickups spawning for BlockEntities 2013-12-06 19:17:57 +00:00
Mattes D
dde1c3a7cd Merge pull request #394 from SamJBarney/master
Fire no longer goes out when on top of nether rack
2013-12-06 02:41:37 -08:00
madmaxoft
1205c540ee Added cPluginManager:GetCurrentPlugin() to Lua API. 2013-12-05 22:03:07 +01:00
Samuel Barney
d62bfdaca4 Merged if statements. 2013-12-05 10:01:23 -07:00
Samuel Barney
3d9396b097 Finished Merge 2013-12-05 07:34:56 -07:00
Samuel Barney
8acfe21503 Merge branch 'master' of https://github.com/mc-server/MCServer
Conflicts:
	src/Simulator/FireSimulator.h
2013-12-05 07:32:19 -07:00
madmaxoft
321b259213 ByteBuffer: Fixed optimization failures with threading checks. 2013-12-05 10:33:26 +01:00
Alexander Harkness
9f1efbdf21 Hopefully fixed the sparc not being detected 2013-12-04 18:57:23 +00:00
madmaxoft
e48168aa13 Lava can spawn fire.
Settable in world.ini, lava can spawn fire to fuel blocks near it. Fix #65.
2013-12-04 19:48:42 +01:00
madmaxoft
be1cdadda7 Fixed an error in cChunk's block ticking.
Absolute coords were passed to a handler expecting relative coords.
2013-12-04 19:47:08 +01:00
Samuel Barney
efae54db0a Made suggested changes 2013-12-03 19:05:34 -07:00
Samuel Barney
30906a597c Fire no longer goes out when on top of nether rack 2013-12-02 14:11:45 -07:00
Samuel Barney
53d5eb09e0 Removed stray printf, again. 2013-12-02 09:56:42 -07:00
Samuel Barney
050702eaa1 Switched to using provided ReadItem function.
Fixed misplacing when clicking on the bottom of bottom slabs and the top of top slabs.
2013-12-02 09:32:28 -07:00
Samuel Barney
9e75df6a41 Removed stray printf. 2013-12-02 00:51:39 -07:00
Samuel Barney
458eff560b Fixed 1.7 slab and stair placement. 2013-12-01 20:40:12 -07:00
madmaxoft
ffd2caea66 Fixed compiler warnings in LightingThread.cpp. 2013-12-01 14:04:17 +01:00
madmaxoft
3dfd051fcb Fixed linux compile errors and formatting in RedstoneSimulator.cpp 2013-12-01 13:58:04 +01:00
madmaxoft
bf30528ec4 DeadlockDetect is configurable now.
This is needed when debugging Lua plugins.
2013-11-30 22:14:47 +01:00
madmaxoft
9a36564ce9 Fixed compiler warnings in IsBiomeNoDownfall(). 2013-11-30 19:13:04 +01:00
Mattes D
2bbe5046e9 Merge pull request #387 from mc-server/trapdoors
Trapdoors, redstone fixes, and snow
2013-11-30 07:20:27 -08:00
Tiger Wang
fad43f0c40 Fixed pistons extending
They didn't when a source was in front, but now they do! Yay!
2013-11-30 15:07:21 +00:00
madmaxoft
c70c2fa42f Changed cBlockHandler->OnUpdate() to use cChunk directly. 2013-11-30 15:58:27 +01:00
madmaxoft
8eae5f2f3a Added IsBiomeNoDownfall() function. 2013-11-30 15:57:56 +01:00
madmaxoft
78f9d97459 Explicitly set spawnpoint fixes.
The value names are case-insensitive.
The debug message is printed only once.
2013-11-30 15:03:29 +01:00
Tiger Wang
363db1bdc4 Removed redstone duplicate power checking
There was no need for it, and it introduced some bugs.
2013-11-30 13:52:11 +00:00
Tiger Wang
d12106ee97 Improved piston direction checking
Now uses AddFaceDirection, as suggested by xoft.
2013-11-30 13:41:40 +00:00
madmaxoft
2383016b1d Added the real tick duration to the OnWorldTick hook. 2013-11-30 14:22:26 +01:00
madmaxoft
463de118a0 Grass doesn't spread to podzol or grassless dirt blocks. 2013-11-30 13:48:22 +01:00