Versions in this module Expand all Collapse all v0 v0.0.0 Dec 30, 2023 Changes in this version + var DefaultDimensionsGenerators = map[string]DimensionGenerator + var DefaultDimensionsTypes = map[string]DimensionType + type BiomeState string + type BlockState struct + Name string + Properties nbt.RawMessage + type Chunk struct + BlockEntities []nbt.RawMessage + BlockTicks nbt.RawMessage + CarvingMasks map[string][]uint64 + DataVersion int32 + Entities []nbt.RawMessage + FluidTicks nbt.RawMessage + Heightmaps map[string][]uint64 + InhabitedTime int64 + IsLightOn byte + LastUpdate int64 + Lights []nbt.RawMessage + PostProcessing nbt.RawMessage + Sections []Section + Status string + Structures nbt.RawMessage + XPos int32 + YPos int32 + ZPos int32 + func (c *Chunk) Data(compressingType byte) ([]byte, error) + func (c *Chunk) Load(data []byte) (err error) + type CustomBossEvent struct + Color string + CreateWorldFog bool + DarkenScreen bool + Max int32 + Name string + Overlay string + PlayBossMusic bool + Players [][]int32 + Value int32 + Visible bool + type DimensionGenerator struct + Generator map[string]any + Type string + type DimensionType struct + AmbientLight float32 + BedWorks bool + CoordinatesScale float64 + Effects string + FixedTime int64 + HasCeiling bool + HasRaids bool + HasSkylight bool + Height int32 + Infiniburn string + LogicalHeight int32 + MinY int32 + MonsterSpawnBlockLightLimit int32 + MonsterSpawnLightLevel int32 + Natural bool + PiglinSafe bool + RespawnAnchorWorks bool + Ultrawarm bool + type Entities struct + Air int16 + CustomName string + CustomNameVisible bool + FallDistance float32 + Fire int16 + Glowing bool + HasVisualFire bool + Invulnerable bool + Motion [3]float64 + NoGravity bool + OnGround bool + PortalCooldown int32 + Pos [3]float64 + Rotation [3]float32 + Silent bool + Tags []string + TicksFrozen int32 + UUID [4]int32 + type Item struct + Count byte + ID string + Slot byte + Tag map[string]any + type Level struct + Data LevelData + func ReadLevel(r io.Reader) (data Level, err error) + type LevelData struct + AllowCommands byte + BorderCenterX float64 + BorderCenterZ float64 + BorderDamagePerBlock float64 + BorderSafeZone float64 + BorderSize float64 + BorderSizeLerpTarget float64 + BorderSizeLerpTime int64 + BorderWarningBlocks float64 + BorderWarningTime float64 + ClearWeatherTime int32 + CustomBossEvents map[string]CustomBossEvent + DataPacks struct{ ... } + DataVersion int32 + DayTime int64 + Difficulty byte + DifficultyLocked bool + DimensionData struct{ ... } + DragonFight struct{ ... } + GameRules map[string]string + GameType int32 + HardCore bool + Initialized bool + LastPlayed int64 + LevelName string + MapFeatures bool + Player map[string]any + RainTime int32 + Raining bool + RandomSeed int64 + ScheduledEvents []nbt.RawMessage + ServerBrands []string + SizeOnDisk int64 + SpawnAngle float32 + SpawnX int32 + SpawnY int32 + SpawnZ int32 + StorageVersion int32 + ThunderTime int32 + Thundering bool + Time int64 + Version struct{ ... } + WanderingTraderId []int32 + WanderingTraderSpawnChance int32 + WanderingTraderSpawnDelay int32 + WasModded bool + WorldGenSettings WorldGenSettings + type PaletteContainer struct + Data []uint64 + Palette []T + type PlayerData struct + Abilities struct{ ... } + AbsorptionAmount float32 + Air int16 + Attributes []struct{ ... } + DataVersion int32 + DeathTime int16 + Dimension string + EnderItems []Item + FallDistance float32 + FallFlying byte + Fire int16 + FoodExhaustionLevel float32 + FoodLevel int32 + FoodSaturationLevel float32 + FoodTickTimer int32 + Health float32 + HurtByTimestamp int32 + HurtTime int16 + Inventory []Item + Invulnerable byte + Motion [3]float64 + OnGround byte + PlayerGameType int32 + PortalCooldown int32 + Pos [3]float64 + RecipeBook struct{ ... } + Rotation [2]float32 + Score int32 + SeenCredits byte + SelectedItemSlot int32 + UUID [4]int32 + XpLevel int32 + XpP float32 + XpSeed int32 + XpTotal int32 + func ReadPlayerData(r io.Reader) (data PlayerData, err error) + type Section struct + Biomes PaletteContainer[BiomeState] + BlockLight []byte + BlockStates PaletteContainer[BlockState] + SkyLight []byte + Y int8 + type WorldGenSettings struct + BonusChest bool + Dimensions map[string]DimensionGenerator + GenerateFeatures bool + Seed int64