public class BranchNoiseJsonLoader
Class BranchNoiseJsonLoader. Provides branchnoisejsonloader functionality for the Hytale server.
java.lang.Object > BranchNoiseJsonLoader
Field Summary
resource
Field resource.
parentCellType
Field parentCellType.
parentFunction
Field parentFunction.
parentEvaluator
Field parentEvaluator.
parentValue
Field parentValue.
parentFade
Field parentFade.
parentDensity
Field parentDensity.
parentDistanceType
Field parentDistanceType.
parentFormula
Field parentFormula.
lineCellType
Field lineCellType.
linePointFunction
Field linePointFunction.
lineScale
Field lineScale.
lineThickness
Field lineThickness.
lineFunction
Field lineFunction.
lineEvaluator
Field lineEvaluator.
defaultJitter
Field defaultJitter.
jitterX
Field jitterX.
jitterY
Field jitterY.
jitter
Field jitter.
distanceMode
Field distanceMode.
densityRange
Field densityRange.
direction
Field direction.
Method Detail
BranchNoiseJsonLoader
public
BranchNoiseJsonLoader
(final SeedString seed, final Path dataFolder, final JsonElement json)
Method BranchNoiseJsonLoader.
- Parameters:
final SeedStringseedfinal PathdataFolderfinal JsonElementjson
DoubleConditionJsonLoader
new
DoubleConditionJsonLoader
(this.seed, this.dataFolder, this.get("ParentDensity")
Method DoubleConditionJsonLoader.
- Parameters:
this.seedthis.seedthis.dataFolderthis.dataFolderthis.get("ParentDensity"this.get("ParentDensity"
loadParentDistance2Function
DistanceNoise.Distance2Function
loadParentDistance2Function
()
Method loadParentDistance2Function.
loadParentFormula
NoiseFormulaProperty.NoiseFormula.Formula
loadParentFormula
()
Method loadParentFormula.
loadLineEvaluator
PointEvaluator
loadLineEvaluator
(@Nonnull final CellDistanceFunction parentFunction, @Nonnull final CellPointFunction linePointFunction, final double lineScale)
Method loadLineEvaluator.
- Parameters:
@Nonnull final CellDistanceFunctionparentFunction@Nonnull final CellPointFunctionlinePointFunctionfinal doublelineScale
loadDouble
double
loadDouble
(final String key, final double def)
Method loadDouble.
- Parameters:
final Stringkeyfinal doubledef
loadRange
Method loadRange.
- Parameters:
final Stringkeyfinal doubledef
DoubleRangeJsonLoader
new
DoubleRangeJsonLoader
(this.seed, this.dataFolder, this.get(key)
Method DoubleRangeJsonLoader.
- Parameters:
this.seedthis.seedthis.dataFolderthis.dataFolderthis.get(keythis.get(key
loadEnum
E
loadEnum
(final String key, @Nonnull final Function valueOf, final E def)
Method loadEnum.
- Parameters:
final Stringkey@Nonnull final FunctionvalueOffinal Edef
getCellDistanceFunction
Method getCellDistanceFunction.
- Parameters:
@Nonnull final CellTypecellType
switch
return
switch
(cellType)
Method switch.
- Parameters:
cellTypecellType
localBuffer2d
ResultBuffer.ResultBuffer2d
localBuffer2d
()
Method localBuffer2d.
toString
String
toString
()
Method toString.