Structurize

Structurize

46M Downloads

Fix block solidness

Nightenom opened this issue ยท 2 comments

commented
  • no leaves, or special check is they are permanent, or tag for ppl to manually adjust
  • iterate block registry and collect everything that returns true from block#canSurvive(null, null, null) and doesnt NPE

pseudocode:

bool canFloatInAir(block)
{
 if is in tag -> false
 if is leaves -> leaves.permenent
 else -> filtered_registry.contains(block)
}
commented

Closes #583

commented

Done