GlowstoneMC / Glowstone-Legacy

An open-source server for the Bukkit Minecraft modding interface
Other
363 stars 122 forks source link

Add Block Suffication #632

Open jaredStef opened 9 years ago

jaredStef commented 9 years ago

Living Entities will now suffocate when within a solid block. There is a isWithinSolidBlock method that checks if the entity is in a solid block and if so they are damaged 1 every tick for suffocation.

PaulBGD commented 9 years ago

You uh.. added a method called isWithinBlock but call it with isWithinSolidBlock?

jaredStef commented 9 years ago

Facepalm... I'll change it

turt2live commented 9 years ago

Minor concerns (no testing done yet):