laynebritton / jl-fast-treecapitator

A more efficient tree and ore vein miner for Minecraft Bedrock Edition. Cross-platform supported. Faster runtime and lower space complexity than pre-existing solutions.
4 stars 0 forks source link

Vein Family Associations. Migration of Vein_Block_Set to a Map. #11

Closed laynebritton closed 1 year ago

laynebritton commented 1 year ago

Vein blocks are now associated in Families. Blocks within a family can be used to vine mine each other. This is primarily used to allow for vein mining of ore alongside combinations of Deepslate, and Redstone with its lit permutations.

The block break event uses this Map to check if the block is eligible for vein mining, and then if adjacent blocks can be vein mined.

A one way relationship can defined in the future by adding the relationship in one direction in the Map, i.e. do not create a Family for Logs and Leaves


Testing

Resolving issues found in https://github.com/laynebritton/jl-fast-treecapitator/issues/8 @GlowBrick https://github.com/laynebritton/jl-fast-treecapitator/issues/7