Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Biome ¶
type Biome struct { ID int32 `json:"id" nbt:"-"` Name string `json:"name" nbt:"-"` Category string `json:"category" nbt:"category"` Temperature float32 `json:"temperature" nbt:"temperature"` Precipitation string `json:"precipitation" nbt:"precipitation"` Depth float32 `json:"depth" nbt:"depth"` Scale float32 `json:"scale" nbt:"scale"` Dimension mc.Identifier `json:"dimension" nbt:"-"` DisplayName string `json:"displayName" nbt:"-"` Color int32 `json:"color" nbt:"-"` Rainfall float32 `json:"rainfall" nbt:"downfall"` Parent string `json:"parent,omitempty" nbt:"-"` ChildID int32 `json:"child,omitempty" nbt:"-"` Climates []Climate `json:"climates,omitempty" nbt:"-"` HasTemperatureModifier bool `json:"has_temperature_modifier" nbt:"-"` TemperatureModifier string `json:"temperature_modifier,omitempty" nbt:"temperature_modifier" optional:"HasTemperatureModifier"` Effects BiomeEffect `json:"effects,omitempty" nbt:"effects"` HasParticle bool `json:"has_particle" nbt:"-"` Particle BiomeParticle `json:"particle,omitempty" nbt:"particle" optional:"HasParticle"` }
func (*Biome) DimensionType ¶
func (b *Biome) DimensionType() *dimensions.Dimension
type BiomeAdditionsSound ¶
type BiomeEffect ¶
type BiomeEffect struct { SkyColor int32 `json:"sky_color" nbt:"sky_color"` WaterFogColor int32 `json:"water_fog_color" nbt:"water_fog_color"` FogColor int32 `json:"fog_color" nbt:"fog_color"` WaterColor int32 `json:"water_color" nbt:"water_color"` HasFoliageColor bool `json:"has_foliage_color,omitempty" nbt:"-"` FoliageColor int32 `json:"foliage_color,omitempty" nbt:"foliage_color" optional:"HasFoliageColor"` HasGrassColor bool `json:"has_grass_color,omitempty" nbt:"-"` GrassColor int32 `json:"grass_color,omitempty" nbt:"grass_color" optional:"HasGrassColor"` HasGrassColorModifier bool `json:"has_grass_color_modifier,omitempty" nbt:"-"` GrassColorModifier string `json:"grass_color_modifier" nbt:"grass_color_modifier" optional:"HasGrassColorModifier"` HasMusic bool `json:"has_music,omitempty" nbt:"-"` Music BiomeMusic `json:"music,omitempty" nbt:"music" optional:"HasMusic"` HasAmbientSound bool `json:"has_ambient_sound,omitempty" nbt:"-"` AmbientSound string `json:"ambient_sound,omitempty" nbt:"ambient_sound" optional:"HasAmbientSound"` HasAdditionsSound bool `json:"has_additions_sound,omitempty" nbt:"-"` AdditionsSound BiomeAdditionsSound `json:"additions_sound,omitempty" nbt:"additions_sound" optional:"HasAdditionsSound"` HasMoodSound bool `json:"has_mood_sound" nbt:"-"` MoodSound BiomeMoodSound `json:"mood_sound" nbt:"mood_sound" optional:"HasMoodSound"` }
type BiomeEntry ¶
type BiomeMoodSound ¶
type BiomeMusic ¶
type BiomeMusic struct { ReplaceCurrentMusic bool `json:"replace_current_music" nbt:"replace_current_music"` Sound mc.Identifier `json:"sound" nbt:"sound"` MaxDelay int32 `json:"max_delay" nbt:"max_delay"` MinDelay int32 `json:"min_delay" nbt:"min_delay"` }
type BiomeParticle ¶
type BiomeParticle struct { Probability float32 `json:"probability" nbt:"probability"` Options BiomeParticleOptions `json:"options" nbt:"options"` }
type BiomeParticleOptions ¶
type BiomeParticleOptions struct {
Type string `json:"type" nbt:"type"`
}
type BiomeStorage ¶
type BiomeStorage struct { Type string `json:"type" nbt:"type"` Entries []BiomeEntry `json:"value" nbt:"value"` }
func Store ¶
func Store() BiomeStorage
Click to show internal directories.
Click to hide internal directories.