Package io.github.bakedlibs.dough.blocks
Class Vein
java.lang.Object
io.github.bakedlibs.dough.blocks.Vein
-
Method Summary
Modifier and TypeMethodDescriptionThis method gives you a List of all Blocks that are directly or indirectly connected to the given Block and share the same Material as the given Block.This method gives you a List of all Blocks that are directly or indirectly connected to the given Block and pass the given Predicate.
-
Method Details
-
find
This method gives you a List of all Blocks that are directly or indirectly connected to the given Block and share the same Material as the given Block.- Parameters:
b- The Block to start withlimit- The max amount of Blocks to expand into- Returns:
- A List of all Blocks
-
find
This method gives you a List of all Blocks that are directly or indirectly connected to the given Block and pass the given Predicate.- Parameters:
b- The Block to start withlimit- The max amount of Blocks to expand intopredicate- A Predicate describing what Blocks to count- Returns:
- A List of all Blocks
-