Skip to main content

CropBonemealExt

Trait CropBonemealExt 

Source
pub trait CropBonemealExt: CropLike + Bonemealable {
    // Provided method
    fn default_perform_bonemeal(
        &self,
        state: BlockStateId,
        world: &Arc<World>,
        rng: &mut dyn Rng,
        pos: BlockPos,
    ) { ... }
}
Expand description

Default Bonemeal implementation for all crops

Provided Methods§

Source

fn default_perform_bonemeal( &self, state: BlockStateId, world: &Arc<World>, rng: &mut dyn Rng, pos: BlockPos, )

Default perform_bonemeal implementation for all crops

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§