17 Commits

Author SHA1 Message Date
Drew DeVault
68f53787fc ItemStack.Empty -> ItemStack.EmptyStack 2016-03-20 14:12:57 -04:00
Peroalane
e476546bd0 Another fix. 2016-03-20 18:56:10 +01:00
Peroalane
c1c9832fb1 Fixes 2016-03-20 18:52:25 +01:00
Peroalane
66cc475d9f Fix grass seed drop 2016-03-20 18:40:59 +01:00
Drew DeVault
a361703746 Implement walking sounds
These sounds change depending on what kind of block you're walking in.

Still to come: sound effects for mining and placing blocks
2015-10-05 22:06:59 -04:00
Drew DeVault
14aa3ce07a Add "InteractiveBoundingBox" to IBlockProvider
This is used to determine the bounding box for interaction in the client
(the ray that's cast from your camera interacts with it to determine the
highlighted block).

TODO: Make it work better with metadata.

This commit also fixes one of the issues with snow: ref #194
2015-10-02 08:15:29 -04:00
Drew DeVault
6969964b18 Implement FIRE 2015-09-07 19:14:12 -04:00
Drew DeVault
fa8c4a6877 Enforce digging time and damage items when used
Closes #11

Partially addresses #12
2015-07-01 15:22:27 -06:00
Drew DeVault
9d1f5377ef Drop different items based on tool used to mine
For example, mining stone with your hand now drops nothing, and mining
leaves with shears will drop the leaves.
2015-06-26 17:15:51 -06:00
Drew DeVault
0ae063456f Add common renderer for quad-based blocks
This also includes a derivative renderer for tall grass.
2015-06-03 18:42:26 -06:00
Drew DeVault
021261e6fa Add support for various wood/leaves types 2015-06-03 15:22:33 -06:00
Drew DeVault
79e584cd27 Remove tall grass metadata when dropping seed 2015-04-26 18:22:16 -06:00
Drew DeVault
faf6fc2a98 Fix seed drops
Random.Next has an _exclusive_ upper bound, not an inclusive one.
2015-04-19 10:56:23 -06:00
Daniel Vidmar
b01322d3bc Fixed IceBlock and implemented more drops
Replaced the fully qualified names in IceBlock.cs with using directives.
Added the proper drops to more blocks.
2015-02-04 12:58:52 -05:00
Daniel Vidmar
351ab96f99 Block modifications.
Added two new properties.
- Opaque: Whether or not the block is opaque
- LightModifier: The amount removed from the light level as it passes
through the block(for transparent blocks).

Merged all rail block classes into RailBlock.cs and made them extend
RailBlock
2015-01-26 00:14:58 -05:00
Daniel Vidmar
eb1329e3f9 Added new block properties. 2015-01-22 00:49:50 -05:00
Drew DeVault
f230ab3345 Generate classes for all blocks 2014-12-28 18:55:46 -07:00