public class RangeSizeFlockAsset extends FlockAsset
Class RangeSizeFlockAsset. Provides rangesizeflockasset functionality for the Hytale server.
java.lang.Object > FlockAsset > RangeSizeFlockAsset
Field Summary
size
protected
int[]
size
Field size.
Method Detail
RangeSizeFlockAsset
public
protected
RangeSizeFlockAsset
(final String id)
Method RangeSizeFlockAsset.
- Parameters:
final Stringid
getSize
public
int[]
getSize
()
Method getSize.
getMinFlockSize
public
int
getMinFlockSize
()
Method getMinFlockSize.
pickFlockSize
public
int
pickFlockSize
()
Method pickFlockSize.
getUnknownFor
Method getUnknownFor.
- Parameters:
final Stringid
toString
public
String
toString
()
Method toString.
KeyedCodec
public
new
KeyedCodec
("Size", Codec.INT_ARRAY)
Method KeyedCodec.
- Parameters:
"Size""Size"Codec.INT_ARRAYCodec.INT_ARRAY
four
public
and
four
(inclusive)
Method four.
- Parameters:
inclusiveinclusive
IntArrayValidator
public
new
IntArrayValidator
(Validators.greaterThan(0)
Method IntArrayValidator.
- Parameters:
Validators.greaterThan(0Validators.greaterThan(0