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

@ -42,7 +42,7 @@ namespace MinecraftClient.Protocol
}
catch (Exception e)
{
ConsoleIO.WriteLineFormatted("§8" + e.ToString());
ConsoleIO.WriteLineFormatted(String.Format("§8{0}: {1}", e.GetType().FullName, e.Message));
}
}, TimeSpan.FromSeconds(30)))
{