Skip to content

Commit

Permalink
Review edits
Browse files Browse the repository at this point in the history
  • Loading branch information
Asurar0 committed Sep 18, 2024
1 parent 467a02e commit 6ec8d90
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 46 deletions.
31 changes: 0 additions & 31 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ tokio = { version = "1.40", features = [
"io-util",
"sync",
] }
speedy = "0.8.7"
rayon = "1.10.0"
uuid = { version = "1.10.0", features = ["serde", "v3", "v4"] }
derive_more = { version = "1.0.0", features = ["full"] }
Expand Down
1 change: 0 additions & 1 deletion pumpkin-world/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ edition.workspace = true
pumpkin-core = { path = "../pumpkin-core"}

fastnbt = { git = "https://github.com/owengage/fastnbt.git" }
speedy.workspace = true
tokio.workspace = true
rayon.workspace = true
derive_more.workspace = true
Expand Down
26 changes: 13 additions & 13 deletions pumpkin-world/src/chunk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,31 +175,31 @@ struct ChunkSection {
#[repr(u32)]
enum ChunkStatus {
#[serde(rename = "minecraft:empty")]
Empty = 0,
Empty,
#[serde(rename = "minecraft:structure_starts")]
StructureStarts = 1,
StructureStarts,
#[serde(rename = "minecraft:structure_references")]
StructureReferences = 2,
StructureReferences,
#[serde(rename = "minecraft:biomes")]
Biomes = 3,
Biomes,
#[serde(rename = "minecraft:noise")]
Noise = 4,
Noise,
#[serde(rename = "minecraft:surface")]
Surface = 5,
Surface,
#[serde(rename = "minecraft:carvers")]
Carvers = 6,
Carvers,
#[serde(rename = "minecraft:liquid_carvers")]
LiquidCarvers = 7,
LiquidCarvers,
#[serde(rename = "minecraft:features")]
Features = 8,
Features,
#[serde(rename = "minecraft:initialize_light")]
Light = 9,
Light,
#[serde(rename = "minecraft:spawn")]
Spawn = 10,
Spawn,
#[serde(rename = "minecraft:heightmaps")]
Heightmaps = 11,
Heightmaps,
#[serde(rename = "minecraft:full")]
Full = 12,
Full,
}

/// The Heightmap for a completely empty chunk
Expand Down

0 comments on commit 6ec8d90

Please sign in to comment.