Dimension type - hotwopik/WorldMagic GitHub Wiki
Dimension type files are located in dimension-types
plugin subfolder and has formate yml
.
They configure main world properties and loads upon plugin enable.
File definition fully except field id
based on vanilla dimension type file.
Example
id: some_id
ultrawarm: false
natural: true
coordinate_scale: 2.0
has_skylight: true
has_ceiling: false
ambient_light: 0
monster_spawn_light_level: 0
monster_spawn_block_light_limit: 0
piglin_safe: true
bed_works: true
respawn_anchor_works: true
has_raids: false
min_y: 0
height: 256
logical_height: 100
infiniburn: "#infiniburn_overworld"
effects: overworld
Definition
-
id
- dimension type id, namespaced key, required -
ultrawarm
- should water evaporates, sponges dry and lava be faster, bool, required -
natural
- should zombified piglins spawns in nether portal, creaking hearts spawn creakings, bool, required -
coordinate_scale
- coordinate scaling realative to other dimensions, double between0.00001
and30000000
inclusive, required -
has_skylight
- should skylight engine be enabled in the world, bool, required -
has_ceiling
- should be enabled checks for bedrock ceiling in the world, bool, required -
ambient_light
- minimum render light level, float between0
and1
inclusive, required -
fixed_time
- if defined day time is fixed to field value, long, optional -
monster_spawn_light_level
- global light level limit for monster spawns, global light level computes by formulamax( skyLight - 10, blockLight )
in thunder andmax( skyLight, blockLight )
in other weather, int or int provider between0
and15
inclusive, required -
monster_spawn_block_light_limit
- block light level limit for monster spawns, int between0
and15
inclusive, required -
piglin_safe
- should piglins and hoglins zombificating in the world, bool, required -
bed_works
- iffalse
beds blew up when players tries to sleep, bool, required -
respawn_anchor_works
- iffalse
respawn anchors blew up when players tries to set spawn point on it, bool, required -
has_raids
- should raid engine be enabled in the world, bool, required -
min_y
- minimum y build level, should be a multiple of16
to match the division into cubechunks, int between-2032
and2031
inclusive, required -
height
- maximum y build level frommin_y
, should be a multiple of16
to match the division into cubechunks, int between16
and4064
, required -
logical_height
- maximum y build level frommin_y
that limits chorus fruits teleportation and nether portal spawn, cannot be greater thanheight
, int, required -
infiniburn
- reference to block tag starting with#
that defines which blocks makes fire burns infinitly, namepsaced key starting with#
, required -
effects
- determines which skybox and weather engine should use the world, can beoverworld
,the_nether
orthe_end
, required
Int provider definition
type
- determines type of int provider, can beconstant
,uniform
,biased_to_bottom
,clamped
,clamped_normal
orweighted_list
, required
If
type
isconstant
value
- constant value, int, required
If
type
isuniform
orbiased_to_bottom
min_inclusive
- minimum allowed value, int, requiredmax_inclusive
- maximum allowed value, cannot be less thatmin_inclusive
, int, required
If
type
isclamped
min_inclusive
- minimum allowed value, int, requiredmax_inclusive
- maximum allowed value, cannot be less thatmin_inclusive
, int, requiredsource
- clamped value, int or int provider, required
If
type
isclamped_normal
min_inclusive
- minimum allowed value, int, requiredmax_inclusive
- maximum allowed value, cannot be less thatmin_inclusive
, int, requiredmean
- normal distribution mean value, float, requireddeviation
- normal distribution deviation value, float, required
If
type
isweighted_list
distribution
- list of possible values, required- list element
data
- case value, int or int provider, requiredweight
- case weight, int, required
- list element