You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
125 lines
1.9 KiB
125 lines
1.9 KiB
These are the functions which can be called on an LocationData object.
|
|
|
|
|
|
|
|
setFeature:
|
|
Arguments:
|
|
String
|
|
Usage:
|
|
feature id
|
|
Notes:
|
|
Sets the feature id. Used for things like structures.
|
|
|
|
setBiome:
|
|
Arguments:
|
|
Non_Null_Biome_ID
|
|
Usage:
|
|
biome id
|
|
Notes:
|
|
Sets the biome id. Can be an int or String.
|
|
|
|
setGeneratorOptions:
|
|
Arguments:
|
|
String
|
|
Usage:
|
|
generator string
|
|
Notes:
|
|
Sets the generator options string.
|
|
|
|
setYMax:
|
|
Arguments:
|
|
float
|
|
Usage:
|
|
max
|
|
Notes:
|
|
Sets the max Y coordinate.
|
|
|
|
setZMax:
|
|
Arguments:
|
|
float
|
|
Usage:
|
|
max
|
|
Notes:
|
|
Sets the max Z coordinate.
|
|
|
|
setXMin:
|
|
Arguments:
|
|
float
|
|
Usage:
|
|
min
|
|
Notes:
|
|
Sets the min X coordinate.
|
|
|
|
setYMin:
|
|
Arguments:
|
|
float
|
|
Usage:
|
|
min
|
|
Notes:
|
|
Sets the min Y coordinate.
|
|
|
|
setWorldType:
|
|
Arguments:
|
|
String
|
|
Usage:
|
|
WorldType id
|
|
Notes:
|
|
Sets the WorldType id.
|
|
|
|
setXMax:
|
|
Arguments:
|
|
float
|
|
Usage:
|
|
max
|
|
Notes:
|
|
Sets the max X coordinate.
|
|
|
|
setDimensionType:
|
|
Arguments:
|
|
String
|
|
Usage:
|
|
dimension type
|
|
Notes:
|
|
Sets the dimension type. Vanilla options are "overworld", "the_nether", "the_end"
|
|
|
|
setDimID:
|
|
Arguments:
|
|
int
|
|
Usage:
|
|
dimension id
|
|
Notes:
|
|
Sets the dimension id.
|
|
|
|
setZMin:
|
|
Arguments:
|
|
float
|
|
Usage:
|
|
min
|
|
Notes:
|
|
Sets the min Z coordinate.
|
|
|
|
setXMinMax:
|
|
Arguments:
|
|
float, float
|
|
Usage:
|
|
min, max
|
|
Notes:
|
|
Sets the min and max X coordinates.
|
|
|
|
setYMinMax:
|
|
Arguments:
|
|
float, float
|
|
Usage:
|
|
min, max
|
|
Notes:
|
|
Sets the min and max Y coordinates.
|
|
|
|
setZMinMax:
|
|
Arguments:
|
|
float, float
|
|
Usage:
|
|
min, max
|
|
Notes:
|
|
Sets the min and max Z coordinates.
|
|
|