Add block material database

Taken from Bukkit's Material class, with credits.
Allows to know types and properties of blocks.
+ Use database for "is solid" checks
+ Add "can harm players" method
+ Faster movements, falling seems natural now
+ Shorter error message when ping failed
This commit is contained in:
ORelio 2015-12-09 23:04:00 +01:00
parent 5d8d42e3d1
commit 49702e30b8
6 changed files with 367 additions and 30 deletions

View file

@ -117,6 +117,7 @@
<Compile Include="Mapping\Block.cs" />
<Compile Include="Mapping\Chunk.cs" />
<Compile Include="Mapping\ChunkColumn.cs" />
<Compile Include="Mapping\Material.cs" />
<Compile Include="Mapping\World.cs" />
<Compile Include="Protocol\Handlers\Forge\FMLHandshakeClientState.cs" />
<Compile Include="Protocol\Handlers\Forge\FMLHandshakeDiscriminator.cs" />