Skip to content

Commit

Permalink
fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
user622628252416 committed Dec 1, 2024
1 parent 621a5f4 commit e5cbe86
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 6 deletions.
1 change: 0 additions & 1 deletion pumpkin-data/src/block.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// an array of all blocks, indexed by their id
#[cfg(not(clippy))]
include!(concat!(env!("OUT_DIR"), "/blocks.rs"));

Expand Down
1 change: 0 additions & 1 deletion pumpkin-data/src/block_entities.rs
Original file line number Diff line number Diff line change
@@ -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"));

Expand Down
1 change: 0 additions & 1 deletion pumpkin-data/src/block_shapes.rs
Original file line number Diff line number Diff line change
@@ -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"));

Expand Down
1 change: 0 additions & 1 deletion pumpkin-data/src/block_state.rs
Original file line number Diff line number Diff line change
@@ -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"));

Expand Down
1 change: 0 additions & 1 deletion pumpkin-data/src/block_state_collision_shapes.rs
Original file line number Diff line number Diff line change
@@ -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"));

Expand Down
1 change: 0 additions & 1 deletion pumpkin-data/src/block_state_properties.rs
Original file line number Diff line number Diff line change
@@ -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"));

Expand Down
11 changes: 11 additions & 0 deletions pumpkin-data/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit e5cbe86

Please sign in to comment.