/// <summary> /// Called when this block is right clicked by a player. /// </summary> /// <param name="world">The world in which the event occured</param> /// <param name="position">The location of the block being clicked</param> /// <param name="clickedBy">The player who clicked the block</param> /// <returns>False to override the default action (block placement)</returns> public virtual bool BlockRightClicked(World world, Vector3 position, PlayerEntity clickedBy) { return true; }
/// <summary> /// Called when this block is right clicked by a player. /// </summary> /// <param name="world">The world in which the event occured</param> /// <param name="position">The location of the block being clicked</param> /// <param name="clickedBy">The player who clicked the block</param> /// <returns>False to override the default action (block placement)</returns> /// <remarks></remarks> public override bool BlockRightClicked(World world, Vector3 position, PlayerEntity clickedBy) { return false; }