mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-30 20:14:23 +00:00
14 lines
436 B
Rust
14 lines
436 B
Rust
use crate::block::registry::BlockActionResult;
|
|
use crate::block::{BlockBehaviour, BlockFuture, NormalUseArgs};
|
|
|
|
use pumpkin_macros::pumpkin_block;
|
|
|
|
#[pumpkin_block("minecraft:fletching_table")]
|
|
pub struct FletchingTableBlock;
|
|
|
|
impl BlockBehaviour for FletchingTableBlock {
|
|
fn normal_use<'a>(&'a self, _args: NormalUseArgs<'a>) -> BlockFuture<'a, BlockActionResult> {
|
|
Box::pin(async move { BlockActionResult::Pass })
|
|
}
|
|
}
|