ervinchai / VoxelSniper

The premier long-distance brush editor for Minecraft, rebooted!
38 stars 27 forks source link

Rework the TreeSnipeBrush + Fix ArrayOutOfBoundsException issue #26

Open SlimeFlow opened 4 years ago

SlimeFlow commented 4 years ago

Bugfix for issue #23

After fixing the argument issue, i found that the tree generation didn't work properly. In order to generate a tree, we need to spawn it from a block of air, on top a valid block. I reworked the entire brush to handle a safe generation with the arrow, and a forced generation with the gunpowder. The safe generation lets Minecraft decide if the terrain is valid to spawn a tree. The forced one tries to create the conditions needed to generate, with some limitations.

tutur1004 commented 4 years ago

Hello, can you add this 2 brushs : https://github.com/ervinnnc/VoxelSniper/issues/13

bloggy commented 4 years ago

TreeBrush still gives errors I am on VoxelSniper v6.1.2 https://hastebin.com/diqihavigo.bash