diff --git a/crates/blocks/src/items.rs b/crates/blocks/src/items.rs index b7c2ea65..2929d15e 100644 --- a/crates/blocks/src/items.rs +++ b/crates/blocks/src/items.rs @@ -2,7 +2,7 @@ use crate::block_entities::ContainerType; use crate::BlockColorVariant; use mchprs_utils::map; -#[derive(Clone)] +#[derive(Clone, Debug)] pub struct ItemStack { pub item_type: Item, pub count: u8, @@ -184,6 +184,12 @@ items! { from_id(_id): 187 => {}, block: true, }, + Glowstone { + props: {}, + get_id: 275, + from_id(_id): 275 => {}, + block: true, + }, Sandstone { props: {}, get_id: 190, diff --git a/crates/core/src/interaction.rs b/crates/core/src/interaction.rs index c086d371..4a54f916 100644 --- a/crates/core/src/interaction.rs +++ b/crates/core/src/interaction.rs @@ -57,6 +57,7 @@ pub fn get_state_for_placement( let block = match item { Item::Stone {} => Block::Stone {}, Item::Glass {} => Block::Glass {}, + Item::Glowstone {} => Block::Glowstone {}, Item::Sandstone {} => Block::Sandstone {}, Item::SeaPickle {} => Block::SeaPickle { pickles: 1 }, Item::Wool { color } => Block::Wool { color },