public class FloatRangeJsonLoader
Class FloatRangeJsonLoader. Provides floatrangejsonloader functionality for the Hytale server.
java.lang.Object > FloatRangeJsonLoader
Field Summary
array
final
JsonArray
array
Field array.
min
final
float
min
Field min.
max
final
float
max
Field max.
Method Detail
FloatRangeJsonLoader
public
public
FloatRangeJsonLoader
(@Nonnull final SeedString seed, final Path dataFolder, final JsonElement json)
Method FloatRangeJsonLoader.
- Parameters:
@Nonnull final SeedStringseedfinal PathdataFolderfinal JsonElementjson
if
public
else
if
(this.json.isJsonArray()
Method if.
- Parameters:
this.json.isJsonArray(this.json.isJsonArray(
IllegalStateException
public
new
IllegalStateException
(String.format("Range array contains %s values. Only 1 or 2 entries are allowed.", array.size()
Method IllegalStateException.
- Parameters:
String.format("Range array contains %s values. Only 1 or 2 entries areallowed."array.size(array.size(