diff --git a/crates/blocks/src/items.rs b/crates/blocks/src/items.rs index ace60532..07d01d06 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): 143 => {}, block: true, }, + Glowstone { + props: {}, + get_id: 275, + from_id(_id): 275 => {}, + block: true, + }, Sandstone { props: {}, get_id: 146, diff --git a/crates/core/src/interaction.rs b/crates/core/src/interaction.rs index 7079c581..ec2239e4 100644 --- a/crates/core/src/interaction.rs +++ b/crates/core/src/interaction.rs @@ -129,6 +129,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 },