1
0
Commit Graph

124 Commits

Author SHA1 Message Date
Samuel Barney
277a18626d Removed faulty code dealing with water. 2013-10-12 16:38:07 -06:00
Samuel Barney
c74d1ffb91 Crop blocks now respect water and light. Currently a block has to be "watered" or the crop has a chance of breaking anyways. 2013-10-12 15:25:47 -06:00
madmaxoft
8fb80b6369 Optimized cBlockFarmlandHandler in wet weather.
The area isn't read at all when the weather is wet, since it isn't needed.
2013-10-04 08:39:59 +02:00
Samuel Barney
d1448d12a0 Added comparison for desert biomes. 2013-10-03 21:39:07 -06:00
Samuel Barney
0e1e76fa77 Rain now waters farmland. 2013-10-03 21:35:17 -06:00
madmaxoft
4a00d26da9 Fixed a few compiler warnings 2013-09-22 21:43:00 +02:00
Tiger Wang
dad3648102 Removed some unneeded includes 2013-09-22 19:48:59 +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
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
198ac1892c Fixed pickups 2013-09-18 22:20:08 +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
efe520727d Fixed derpy comparison 2013-09-16 21:07: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
madmaxoft
a7ad5715f9 Fixed tigerw's leftovers. 2013-09-15 20:59:05 +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
Tiger Wang
30b8300ad3 Mycelium now has correct placement sound 2013-09-15 15:56:02 +01:00
Tiger Wang
fc3d5ff5a6 Torches work properly
Also fixed a naming inconsistency concerning quartz stairs.
2013-09-15 15:55:35 +01:00
Tiger Wang
a8cb2bd90e Removed leftover CanBePlacedOnSide 2013-09-15 12:20:13 +01:00
Tiger Wang
411f0b5fa4 Removed leftover DoesAllowBlockOnTop 2013-09-15 12:18:14 +01:00
Tiger Wang
4cdf776759 Removed torch top placement prevention 2013-09-13 21:08:36 +01:00
Tiger Wang
1cbb38fb02 Removed place on top and side preventions 2013-09-13 20:17:39 +01:00
Mattes D
85804d085d Merge pull request #159 from tigerw/bugfix
Multiple fixes and features
2013-09-11 12:19:39 -07:00
Tiger Wang
3a1def2c90 More changes [SEE DESC]
* Improved (again) pumpkin direction handling
* Fixed spacing in Entity.cpp
2013-09-11 20:07:51 +01:00
Tiger Wang
8ef91817e9 Pumpkins 2013-09-11 19:02:09 +01:00
worktycho
37e0e684f4 moved reflection code to PlayerYawToMetadata 2013-09-11 17:07:54 +01:00
worktycho
3236364eee changed the subtaraction to a flip 2013-09-11 13:48:08 +01:00
Tiger Wang
3d7813fdb2 Pumpkin and JackOLantern support
Fixes #99
2013-09-10 22:09:31 +01:00
Tiger Wang
e0c649dcc4 Fixed DropSpensers not rotating properly 2013-09-09 19:36:53 +01:00
Tiger Wang
30ac3f5838 Added a few changes [SEE DESC]
* Revised pickup comments
* SlotArea pickup tossing now reflects Player.cpp
* Removed unneeded ItemShears comment (was working already)
* Sand and gravel pickups spawn with correct speed
2013-09-09 19:28:50 +01:00
madmaxoft
b8d2d94d90 Removed the cDoors class.
The helper functions that it implemented were moved into their respective blockhandlers.
2013-09-09 10:49:52 +02:00
madmaxoft
641a1286c1 Fixed torch placement.
This is related to #127, but until we know more about the change, I'm not closing the issue.
2013-09-08 22:40:50 +02:00
madmaxoft
d31142811d Merged branch 'Projectiles'. 2013-09-07 22:06:30 +02:00
madmaxoft
3b1c83acf8 Renamed cWorld::DoExplosiontAt() to cWorld::DoExplosionAt() 2013-09-07 18:12:22 +02:00
Tiger Wang
9c22cf1520 Fixed inconsistent meta naming 2013-09-03 12:33:54 +01:00
Tiger Wang
20b64e18e4 Merge remote-tracking branch 'upstream/master'
Conflicts:
	source/Bindings.cpp
	source/Entities/Entity.cpp

Updated from upsteam
2013-09-02 14:15:28 +01:00
Tiger Wang
7056992d0d Implemented xoft's suggestions [SEE DESC]
Rail metas are  now in BlockID and exported to LUA
Minecart now does a SetMass, instead of m_Mass
Minecarts use SubType instead of TypeType
2013-08-29 13:47:22 +01:00
madmaxoft
104a31e23d Merging in tigerw's changes from PR #118 2013-08-25 16:11:19 +02:00
Tiger Wang
55e3fc53f6 Fixed iron door opening by hand 2013-08-25 13:41:02 +01:00
Tiger Wang
11ca2f96a0 Vines now spread when updated 2013-08-24 22:00:24 +01:00
Tiger Wang
d1cc6d9a9c Added comments and fixed a bug
Bug was placing slabs between slabs not making a double slab.
2013-08-24 18:46:19 +01:00
Tiger Wang
8f2181bfbe Fixed incorrect double slab drops 2013-08-23 20:12:21 +01:00
Tiger Wang
a671e45cd5 Double slabs work *choke choke* 2013-08-23 19:38:39 +01:00
Tiger Wang
0c44904766 Changed comments to be more accurate 2013-08-20 23:24:29 +01:00
Tiger Wang
8e153f6689 Fixed longstanding issue with slabs
Fixes FS#298
2013-08-20 23:17:49 +01:00