1
0
Commit Graph

1008 Commits

Author SHA1 Message Date
TheJumper
8716263238 BlockBed.cpp: Fixed Multiple people in one bed.
OnUse in BlockBed.cpp now checks whether bit flag 0x4 in the Data values of the bed is set before somebody can try to sleep in the bed.
2014-02-23 19:50:51 +01:00
madmaxoft
fd4af0f992 Fixed bindings for cBlockArea:Get(Rel)BlockTypeMeta().
They no longer require the ghost output params.
2014-02-23 19:50:51 +01:00
Howaner
1f726b7d9d Rename SkullEntity to MobHeadEntity 2014-02-23 19:50:50 +01:00
Howaner
a71e8be4d2 Add break to Protocol17x.cpp and use new comment delimiter 2014-02-23 19:50:50 +01:00
Howaner
7bc5946883 Add Heads completely 2014-02-23 19:50:50 +01:00
Howaner
ab2eba17ec Add Skulls/Heads 2014-02-23 19:50:50 +01:00
Tiger Wang
a686656253 Merge branch 'master' into itemframes
Conflicts:
	src/Entities/Entity.h
	src/WorldStorage/NBTChunkSerializer.cpp
2014-02-18 22:13:44 +00:00
Mattes D
98332c5b76 Merge pull request #696 from mc-server/paintings
Implemented paintings, fixes #689
2014-02-18 23:08:12 +01:00
Tiger Wang
08229956ff Merge branch 'itemframes' of https://github.com/mc-server/MCServer into itemframes 2014-02-18 22:07:30 +00:00
Tiger Wang
8b2153ba97 De-breaked stuff 2014-02-18 22:07:21 +00:00
Tiger Wang
5b961453d1 Fixed possible ASSERT failure 2014-02-18 21:54:53 +00:00
Tiger Wang
05789f9e66 Changed BlockFace type to eBlockFace 2014-02-18 21:33:33 +00:00
madmaxoft
b1c6b4f584 The cuboid for cWorld::SetAreaBiome() doesn't need sorting. 2014-02-18 13:49:24 +01:00
madmaxoft
803ea41236 Added cWorld:SetAreaBiome() API function.
Fixes #675.
2014-02-18 13:49:23 +01:00
madmaxoft
fc8743df96 Added a bit more documentation to cForEachChunkProvider. 2014-02-18 13:49:23 +01:00
Tiger Wang
9c409fc65c Merge branch 'itemframes' of https://github.com/mc-server/MCServer into itemframes 2014-02-18 11:44:19 +00:00
Tiger Wang
d5ee899d0e Added a brace
====
{       }
{  __  }
{  | |  }
====

REMOVE ALL THE BRACES!!
2014-02-18 11:44:09 +00:00
Tiger Wang
6788dbe7f2 Properly exported and documented paintings 2014-02-18 11:37:45 +00:00
Tiger Wang
7a23e27fc5 Added an explanatory comment 2014-02-18 00:29:10 +00:00
Tiger Wang
ced6eb971d Comments & new BLOCK_FACE constants 2014-02-18 00:28:31 +00:00
Tiger Wang
320cc74f0a Implemented paintings, fixes #689
+ Implemented paintings
2014-02-18 00:16:03 +00:00
Tiger Wang
7c0d11fbb2 Used new BLOCK_FACE constants
Also added more comments
2014-02-17 23:38:25 +00:00
Tiger Wang
464ec47eb7 Implemented item frames, a part of #689
+ Implemented Item Frames
* Fixed Pitch and Yaw being wrongly flipped in the protocol (XOFT!)
2014-02-17 23:00:03 +00:00
madmaxoft
1a26f05ed0 Added cPluginManager:GetPluginsPath() to the Lua API. 2014-02-17 23:36:39 +01:00
madmaxoft
865ae82114 Add Lua plugin path to package.path and .cpath.
Fixes #693.
2014-02-17 23:12:46 +01:00
Alexander Harkness
72d312ac9b Merge pull request #690 from tonibm19/master
Now mobs can't escape from fences.
2014-02-17 16:12:59 +00:00
tonibm19
8707f7ddc8 Improved formatting 2014-02-17 17:01:22 +01:00
Alexander Harkness
d47e0b055b Merge pull request #692 from mc-server/wolfcleanup
Wolf cleanup
2014-02-17 10:21:38 +00:00
madmaxoft
a4ff63f223 Fixed a memory leak in CompositeChat. 2014-02-17 10:15:18 +01:00
madmaxoft
ea55a22a71 Links sent via chat messages are clickable.
Fixes #658.
2014-02-16 23:51:32 +01:00
madmaxoft
4a24e39ac1 Implemented cCompositeChat::ParseText(), incl. self-test. 2014-02-16 23:32:08 +01:00
madmaxoft
b0dbe51210 Fixed cBoundingBox self-test code-style.
Also made the class name unique and the global variable static, to avoid linkage problems with other self-tests
2014-02-16 23:32:08 +01:00
Mattes D
b90c9936b8 Merge pull request #683 from mc-server/redstoneimprovements
Redstone speed improvements
2014-02-16 21:44:15 +01:00
tonibm19
60bcf2807a Now mobs can't escape from fences. 2014-02-16 18:18:07 +01:00
Tiger Wang
2350b77bb5 Fixes to previous commit 2014-02-16 17:08:49 +00:00
Tiger Wang
1a84102b10 Slight cleanup of wolf code 2014-02-16 13:47:55 +00:00
Mattes D
ec37e53465 Merge pull request #686 from Howaner/GlobalFixes
Add Locale to ClientHandle
2014-02-16 14:46:36 +01:00
Tiger Wang
4908b6f500 Fixed minor formatting issues from #682
- Removed unused PlaySoundEffect
* Simplified and parenthesised code
2014-02-16 13:37:36 +00:00
Howaner
48d28a0f94 Add Locale to ClientHandle 2014-02-16 13:26:07 +01:00
Tiger Wang
55a6306e2b Fixed a glaring bug with chunk cross-simulating
* A chunk's redstone blocks list is no longer touched if AddBlock was
being called with another chunk's coordinates
* Fixed chunk boundary checks
2014-02-16 00:45:14 +00:00
Howaner
707916b404 Replace random Float Generation and broadcast the Exp Pickup Sound 2014-02-16 01:25:39 +01:00
Howaner
f3bd288f02 Add Exp Bottle Effects 2014-02-16 01:19:30 +01:00
Howaner
507a8a4b84 Set max. Players in the Tablist to 60 2014-02-16 01:18:57 +01:00
Howaner
d15d6acc58 Disable Hunger Death 2014-02-16 01:18:10 +01:00
madmaxoft
52cd9dfe9f Removed the unnecessary LoopPlayersAndBroadcastChat() functions. 2014-02-15 23:26:19 +01:00
madmaxoft
0f1f7583ae Implemented cCompositeChat.
This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions.
Fixes #678.
2014-02-15 23:17:49 +01:00
Tiger Wang
d273cc4142 Added a 'default:' for SimChunk()'s switch 2014-02-15 20:22:51 +00:00
Tiger Wang
c494d0f6f2 A fix and an improvement
* Fixed a special case with the wrong ChunkX/Z values being used to
calculate a relative position
* Simplified data structure adding and removing operations (no more
pointers!)
- Removed one character of whitespace :D
2014-02-15 19:56:45 +00:00
Alexander Harkness
584f7bd806 Merge pull request #679 from mc-server/NotchDeath
NotchApple
2014-02-15 19:04:13 +00:00
STRWarrior
0040a88b9b If a player is called "Notch" he drops an apple. http://minecraft.gamepedia.com/Notch 2014-02-15 19:51:05 +01:00