Class SpreadSource.Builder
java.lang.Object
dev.lukebemish.dynamicassetgenerator.api.client.generators.texsources.SpreadSource.Builder
- Enclosing class:
SpreadSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()setRange(List<SpreadSource.Range> range) Sets the ranges to map the colors to.Sets the input texture to map the colors of.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setSource
Sets the input texture to map the colors of. -
setRange
Sets the ranges to map the colors to. Defaults to a single range from 0 to 255. -
build
-