Use Minecraft methods.
Merge pull request #20 from FusionLord/master

Use Minecraft methods.