From e5cbe86f21342365421018c0fd8792dfe6599797 Mon Sep 17 00:00:00 2001 From: user622628252416 <76960354+user622628252416@users.noreply.github.com> Date: Sun, 1 Dec 2024 04:28:11 +0100 Subject: [PATCH] fix documentation --- pumpkin-data/src/block.rs | 1 - pumpkin-data/src/block_entities.rs | 1 - pumpkin-data/src/block_shapes.rs | 1 - pumpkin-data/src/block_state.rs | 1 - pumpkin-data/src/block_state_collision_shapes.rs | 1 - pumpkin-data/src/block_state_properties.rs | 1 - pumpkin-data/src/lib.rs | 11 +++++++++++ 7 files changed, 11 insertions(+), 6 deletions(-) diff --git a/pumpkin-data/src/block.rs b/pumpkin-data/src/block.rs index 630a9126..2d6080e0 100644 --- a/pumpkin-data/src/block.rs +++ b/pumpkin-data/src/block.rs @@ -1,4 +1,3 @@ -/// an array of all blocks, indexed by their id #[cfg(not(clippy))] include!(concat!(env!("OUT_DIR"), "/blocks.rs")); diff --git a/pumpkin-data/src/block_entities.rs b/pumpkin-data/src/block_entities.rs index 1f9a517c..8d2df190 100644 --- a/pumpkin-data/src/block_entities.rs +++ b/pumpkin-data/src/block_entities.rs @@ -1,4 +1,3 @@ -/// an array of all block entities, indexed by their id #[cfg(not(clippy))] include!(concat!(env!("OUT_DIR"), "/block_entities.rs")); diff --git a/pumpkin-data/src/block_shapes.rs b/pumpkin-data/src/block_shapes.rs index c2485e1f..c53f899a 100644 --- a/pumpkin-data/src/block_shapes.rs +++ b/pumpkin-data/src/block_shapes.rs @@ -1,4 +1,3 @@ -/// an array of all block shapes, indexed by their id #[cfg(not(clippy))] include!(concat!(env!("OUT_DIR"), "/block_shapes.rs")); diff --git a/pumpkin-data/src/block_state.rs b/pumpkin-data/src/block_state.rs index a67411ab..358ff025 100644 --- a/pumpkin-data/src/block_state.rs +++ b/pumpkin-data/src/block_state.rs @@ -1,4 +1,3 @@ -/// an array of all block states, indexed by their id #[cfg(not(clippy))] include!(concat!(env!("OUT_DIR"), "/block_states.rs")); diff --git a/pumpkin-data/src/block_state_collision_shapes.rs b/pumpkin-data/src/block_state_collision_shapes.rs index 612d02d6..3ec4ca0a 100644 --- a/pumpkin-data/src/block_state_collision_shapes.rs +++ b/pumpkin-data/src/block_state_collision_shapes.rs @@ -1,4 +1,3 @@ -/// a lookup-array for the collision shape ids of each block state #[cfg(not(clippy))] include!(concat!(env!("OUT_DIR"), "/block_state_collision_shapes.rs")); diff --git a/pumpkin-data/src/block_state_properties.rs b/pumpkin-data/src/block_state_properties.rs index 31b348a0..bbff387f 100644 --- a/pumpkin-data/src/block_state_properties.rs +++ b/pumpkin-data/src/block_state_properties.rs @@ -1,4 +1,3 @@ -/// a lookup-array for the block property values of each block state #[cfg(not(clippy))] include!(concat!(env!("OUT_DIR"), "/block_state_properties.rs")); diff --git a/pumpkin-data/src/lib.rs b/pumpkin-data/src/lib.rs index 9181e176..f4509471 100644 --- a/pumpkin-data/src/lib.rs +++ b/pumpkin-data/src/lib.rs @@ -1,6 +1,17 @@ +/// an array of all blocks, indexed by their id pub mod block; + +/// an array of all block entities, indexed by their id pub mod block_entities; + +/// an array of all block shapes, indexed by their id pub mod block_shapes; + +/// an array of all block states, indexed by their id pub mod block_state; + +/// a lookup-array for the collision shape ids of each block state pub mod block_state_collision_shapes; + +/// a lookup-array for the block property values of each block state pub mod block_state_properties;