1
0
Commit Graph

2223 Commits

Author SHA1 Message Date
Tiger Wang
d8d2f35e9d Eight round of fixes
* Changed IsA() to *long if statement*
- Removed deprecated values in Entity.h - to blazes with the plugins!
* Renamed villager type enumerations to be LESS SHOUTY and more vt-y
+ Use vtMax for World.cpp testificate spawning
2013-10-13 12:47:55 +01:00
Tiger Wang
d0acb37aed Seventh round of fixes
* Fixed arrows not critical-effecting because they were in MOBS! (derp)
* Used cMonster::mtXX as per xoft's suggestions
2013-10-12 23:05:15 +01:00
Tiger Wang
327abdd10d Sixth round of fixes
* Made horse rearing time fixed instead of random
2013-10-11 21:33:56 +01:00
Tiger Wang
e2aaf202ab Fifth round of fixes
* Enumerated Villager spawning
2013-10-11 20:57:22 +01:00
Tiger Wang
ee2df34d03 Fourth round of fixes
* Switchified WriteMobMetadata
* Renamed Horse functions to be better
2013-10-11 01:00:16 +01:00
Tiger Wang
d7b2c534fd Third round of fixes
* Split WriteMetadata into three functions for common, entity, and mob
* Edited a few mob sizes to Vanilla values
2013-10-11 00:41:54 +01:00
Tiger Wang
fe6fa23a97 Second round of fixes
* Implemented suggestions
2013-10-09 21:02:59 +01:00
Tiger Wang
7401fc000d Initial round of fixes
* Fixed intentional misspelling of baby! :D
* Better chested horse bool name
* Fixed some weird continuity issues with my recent changes not being
pushed up initially
* Fixed derpy hexadecimal values
2013-10-08 22:21:55 +01:00
Tiger Wang
5db6213f34 Initial Metadata Commit [SEE DESC]
+ Pigs, Minecarts, Sheep, Skeletons, Slimes, Villagers, Wolves, and
Horses have metadata
+ Base code on taming wolves, shearing sheep, and taming horses
+ Sheep and horses have different colours when spawned
2013-10-08 19:20:49 +01:00
Tiger Wang
21b23ff1e7 Merge pull request #2 from tigerw/bugfixes
Bugfixes
2013-09-24 02:31:57 -07:00
Tiger Wang
dad3648102 Removed some unneeded includes 2013-09-22 19:48:59 +01:00
Tiger Wang
0fcbaca0ed Changed a comment
Was a remnant of my TypeType minecarts :D
2013-09-22 19:35:35 +01:00
Tiger Wang
a8a45a4afc Added button placement handler
Also removed an unneeded variable in the stair handler
2013-09-22 19:34:42 +01:00
Tiger Wang
5c22a9f5f0 Removed OnDigging for Redstone devices 2013-09-22 19:16:56 +01:00
Tiger Wang
5d2831ddb9 Increase piston delay to a second
Another fix for #57
2013-09-22 18:19:51 +01:00
Tiger Wang
9d46fa6ae9 Changed to SetBlockMeta 2013-09-22 18:18:04 +01:00
Tiger Wang
0c58adb2b4 Fixed pickup block spawning 2013-09-19 21:46:39 +01:00
Tiger Wang
57dfdd3205 Implemented xoft's suggestions 2013-09-19 21:21:56 +01:00
Tiger Wang
ecf40e2893 Fixed new monster aggressiveness issue 2013-09-19 21:20:21 +01:00
Tiger Wang
198ac1892c Fixed pickups 2013-09-18 22:20:08 +01:00
Tiger Wang
3e698d7b72 Added moar mobs!
+ Added dragons
+ Added golems
+ Added giants
+ Added horses
+ Added some missing items
+ Added missing spawn egg metas
2013-09-18 22:17:43 +01:00
Tiger Wang
846f1223f4 Implemented redstone comparators
They can be placed and toggled, but stills needs proper redstone support
2013-09-18 18:27:21 +01:00
Tiger Wang
480991d1ac Multiple fixes [SEE DESC]
- 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-18 00:01:20 +01:00
Tiger Wang
ab696c37c3 Snow now supports meta values
Fixes #98
2013-09-17 21:22:26 +01:00
Tiger Wang
a3a3a6ebe6 Added wood directions
+ Added wood directions
2013-09-17 20:59:36 +01:00
Tiger Wang
f2b7b220a4 Fixed undead burning
(c'mon xoft, test ya code :P)
2013-09-17 20:57:35 +01:00
Tiger Wang
558cc1bf26 Merge pull request #1 from tigerw/bugfixes
Bugfixes branch merge
2013-09-17 12:19:12 -07:00
Tiger Wang
efe520727d Fixed derpy comparison 2013-09-16 21:07:25 +01:00
Tiger Wang
9711fd7970 Fixed friction for entities
Due to a misplaced else, other entities weren't getting friction
2013-09-16 19:19:25 +01:00
Tiger Wang
506a693339 Torch fixes [SEE DESC]
* Torches snap to neighbour when placed on bottom
* CanBeAt takes into account cobblestone walls
+ Used more BLOCK_FACEs instead of numbers
2013-09-16 19:18:36 +01:00
Alexander Harkness
059648fcb1 Merge pull request #171 from tonibm19/patch-5
Vanilla like maximum and default view distance
2013-09-16 11:09:03 -07:00
tonibm19
f215402c6c Vanilla like maximum and default view distance 2013-09-16 20:07:33 +02:00
Matyas Dolak
7e0f56ccce Attempt at fixing linux crash on player login.
Ref.: http://forum.mc-server.org/showthread.php?tid=1244
2013-09-16 15:23:16 +02:00
madmaxoft
8ad8a25c2f APIDump: Added callback examples to cWorld. 2013-09-16 11:44:12 +02:00
madmaxoft
9f7b2e259d Exported cMonster:GetMobType() to the Lua API. 2013-09-16 11:42:20 +02:00
madmaxoft
8aacae5e37 APIDump: All cWorld functions are documented. 2013-09-16 10:16:04 +02:00
madmaxoft
79851476d2 Removed cWorld:SaveAllChunks() from the API.
Use cWorld:QueueSaveAllChunks() instead, the old function was prone to deadlocks.
2013-09-16 10:15:25 +02:00
madmaxoft
40d295da26 cWorld:QueueTickBlock takes the delay in ticks. 2013-09-16 09:25:23 +02:00
madmaxoft
7ecd728f1e APIDump: Next batch of cWorld documentation. 2013-09-15 22:30:17 +02:00
madmaxoft
a6b3c560a2 Fixed doxycomments of cWorld plant-growing code 2013-09-15 22:11:02 +02:00
madmaxoft
4aa14c0264 Fixed previous commit 2013-09-15 22:09:45 +02:00
madmaxoft
530f6f2b71 Removed cWorld deprecated API: SetWorldTime() 2013-09-15 21:55:24 +02:00
madmaxoft
5514a6169f Removed obsoleted cWorld functions from the API:
GetClassStatic() (is used only internally by ManualBindings)
GetTime() (is replaced with GetWorldAge() and GetTimeOfDay()
2013-09-15 21:53:36 +02:00
madmaxoft
5d2d0fe109 Fixed previous commit. 2013-09-15 21:52:25 +02:00
madmaxoft
f8947ce18e Fixed API bindings of cWorld:GetSignLines(), exported cWorld:UseBlockEntity(). 2013-09-15 21:47:56 +02:00
madmaxoft
a7ad5715f9 Fixed tigerw's leftovers. 2013-09-15 20:59:05 +02:00
madmaxoft
b34e92571a Updated the bindings again. 2013-09-15 20:52:25 +02:00
madmaxoft
5cde7d8a29 Merge branch 'pickups' of git://github.com/tigerw/MCServer into tigerw-pickups
Conflicts:
	source/BlockID.cpp
	source/Entities/Entity.cpp
2013-09-15 20:49:08 +02:00
madmaxoft
4e200df18c Merge branch 'bugfixes' of git://github.com/tigerw/MCServer into tigerw-bugfixes
Conflicts:
	source/Blocks/BlockTorch.h
2013-09-15 20:34:22 +02:00
madmaxoft
f0ab45f65c APIDump: Added a first part of cWorld documentation. 2013-09-15 20:31:46 +02:00