Glowstone-Legacy icon indicating copy to clipboard operation
Glowstone-Legacy copied to clipboard

Add Block Suffication

Open jaredStef opened this issue 9 years ago • 3 comments

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.

jaredStef avatar Mar 15 '15 20:03 jaredStef

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

PaulBGD avatar Mar 15 '15 20:03 PaulBGD

Facepalm... I'll change it

jaredStef avatar Mar 15 '15 20:03 jaredStef

Minor concerns (no testing done yet):

  • Spelling in JavaDocs
  • Indentation

turt2live avatar Mar 15 '15 20:03 turt2live