Interface JigsawPoolElement.Factory
- Enclosing interface:
- JigsawPoolElement
public static interface JigsawPoolElement.Factory
-
Method Summary
Modifier and TypeMethodDescriptionempty()
Returns a function providing an empty element.feature
(PlacedFeature feature) Returns a function providing an element for aPlacedFeature
.legacy
(ResourceKey template, ProcessorList processors) Returns a function providing a legacy element.list
(List<Function<JigsawPoolElement.Projection, JigsawPoolElement>> elements) Returns a function providing a list of other elements.Returns a projection matching the terrain.rigid()
Returns a rigid projection.single
(ResourceKey template, ProcessorList processors) Returns a function providing a single element.
-
Method Details
-
legacy
Function<JigsawPoolElement.Projection,JigsawPoolElement> legacy(ResourceKey template, ProcessorList processors) Returns a function providing a legacy element.- Parameters:
template
- The template key of aSchematicTemplate
processors
- The processor list- Returns:
- The function
-
single
Function<JigsawPoolElement.Projection,JigsawPoolElement> single(ResourceKey template, ProcessorList processors) Returns a function providing a single element.- Parameters:
template
- The template key of aSchematicTemplate
processors
- The processor list- Returns:
- The function
-
feature
Returns a function providing an element for aPlacedFeature
.- Parameters:
feature
- The placed feature- Returns:
- The function
-
list
Function<JigsawPoolElement.Projection,JigsawPoolElement> list(List<Function<JigsawPoolElement.Projection, JigsawPoolElement>> elements) Returns a function providing a list of other elements.- Parameters:
elements
- The list of functions providing the other elements- Returns:
- The function
-
empty
Returns a function providing an empty element.- Returns:
- The function
-
matchingTerrain
JigsawPoolElement.Projection matchingTerrain()Returns a projection matching the terrain.- Returns:
- The projection
-
rigid
JigsawPoolElement.Projection rigid()Returns a rigid projection.- Returns:
- The projection
-