Interface Generator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate(GenerationUnit unit) This method is called when this generator is requesting this unit to be filled with blocks or biomes.default voidgenerateAll(Collection<GenerationUnit> units) Runsgenerate(GenerationUnit)on each unit in the collection.
-
Method Details
-
generate
This method is called when this generator is requesting this unit to be filled with blocks or biomes.- Parameters:
unit- the unit to fill
-
generateAll
Runsgenerate(GenerationUnit)on each unit in the collection.- Parameters:
units- the list of units to fill
-